Skip to content

Commit 9b7844e

Browse files
committed
[types] Length parameter
1 parent 2725359 commit 9b7844e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/@types/common/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ export type SortKey = string | number | boolean;
2525
export function defaultSorter(sortKey1: SortKey, sortKey2: SortKey): number;
2626

2727
/// getUniqueId
28-
export function getUniqueId(): Id;
28+
export function getUniqueId(length?: number): Id;

src/@types/common/with-schemas/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ export type SortKey = string | number | boolean;
2525
export function defaultSorter(sortKey1: SortKey, sortKey2: SortKey): number;
2626

2727
/// getUniqueId
28-
export function getUniqueId(): Id;
28+
export function getUniqueId(length?: number): Id;

0 commit comments

Comments
 (0)