guid-typescript
Version:
Guid generator to typescript
17 lines (16 loc) • 435 B
TypeScript
export declare class Guid {
static validator: RegExp;
static EMPTY: string;
static isGuid(guid: any): boolean;
static create(): Guid;
static createEmpty(): Guid;
static parse(guid: string): Guid;
static raw(): string;
private static gen;
private value;
private constructor();
equals(other: Guid): boolean;
isEmpty(): boolean;
toString(): string;
toJSON(): any;
}