13 lines
264 B
TypeScript
13 lines
264 B
TypeScript
/**
|
|
* ID生成器
|
|
*/
|
|
export declare class IdGenerator {
|
|
serial: number;
|
|
type: string;
|
|
constructor(type: string);
|
|
next(): number;
|
|
getType(): string;
|
|
initSerial(serial: number): void;
|
|
}
|
|
export declare const GraphicIdGenerator: IdGenerator;
|