You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
268 B
14 lines
268 B
5 months ago
|
/**
|
||
|
* 获取一个全局唯一标识
|
||
|
* @param prefix 自定义前缀
|
||
|
*/
|
||
|
export declare function uniqueId(prefix?: string | number | null): string;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
uniqueId: typeof uniqueId;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default uniqueId
|