@vm721/ui-kit
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.1.1.
25 lines (24 loc) • 797 B
TypeScript
export declare type Pointer = [string, any];
export declare enum PTR {
POINTER = 0,
INSTANCE = 1
}
export declare class PointerMap {
#private;
private isScoped;
private inGlobal;
pointers: any[];
constructor(isScoped?: boolean, inGlobal?: boolean);
createInstance(inst: any): any;
createPointer(inst: any): Pointer;
getInstance(pointerID: string): any;
createEmptyPointer(): string;
useEmptyPointer(pointerID: string, Inst: any): Pointer;
getPointer(pointerID: string): Pointer;
printGlobalMap(): void;
getLastPointer(): any;
static getPointer(pointerID: string, scope?: PointerMap): any;
static getScope(scope: PointerMap): any;
static getLastPointer(scope?: PointerMap): any;
static clear(pointerMapInst: any): void;
}