UNPKG

@azure-tools/codegen

Version:
9 lines 600 B
export declare function getMappings(instance: any): any; export declare function enableSourceTracking<T extends object>(instance: T, enforce?: boolean, path?: string, map?: Record<string, any>, cache?: Map<string, any>): T; export declare const ShadowedNodePath: unique symbol; export interface ProxyPosition { [ShadowedNodePath]: Array<string | number>; } export type ShadowedObject<T> = T & ProxyPosition; export declare function shadowPosition<T extends object>(source: T, cache?: WeakMap<any, any>, path?: Array<string | number>): ShadowedObject<T>; //# sourceMappingURL=source-track.d.ts.map