@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
18 lines (17 loc) • 437 B
TypeScript
export interface GuidValue {
toString: () => string;
}
/**
* Class to create a guid
*/
export declare class Guid implements GuidValue {
private static _empty;
static newGuid(): GuidValue;
static readonly empty: GuidValue;
static isValid(guid: string | GuidValue): boolean;
private value;
constructor(guid: string);
toString(): string;
toJSON: () => string;
valueOf(): string;
}