Skip to content

Commit

Permalink
Remove reference to WeakMap from tslib.d.ts
Browse files Browse the repository at this point in the history
Unfortunately, `WeakMap` may not be declared when using tslib with a project that has `"lib": ["es5"]` set.
  • Loading branch information
rbuckton authored Feb 26, 2020
1 parent 364f0ec commit 9c92f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tslib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ export declare function __asyncValues(o: any): any;
export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
export declare function __importStar<T>(mod: T): T;
export declare function __importDefault<T>(mod: T): T | { default: T };
export declare function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: WeakMap<T, V>): V;
export declare function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: WeakMap<T, V>, value: V): V;
export declare function __classPrivateFieldGet(receiver: object, privateMap: object): any;
export declare function __classPrivateFieldSet(receiver: object, privateMap: object, value: any): any;

0 comments on commit 9c92f58

Please sign in to comment.