Skip to content

Commit 8b7ecb9

Browse files
committed
feat: Add type information to __values(…) helper functions
1 parent 76bedfd commit 8b7ecb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tslib.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ export declare function __metadata(metadataKey: any, metadataValue: any): Functi
2121
export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any;
2222
export declare function __generator(thisArg: any, body: Function): any;
2323
export declare function __exportStar(m: any, o: any): void;
24-
export declare function __values(o: any): any;
24+
export declare function __values<T>(o: Iterable<T> | ArrayLike<T>): Iterator<T>;
2525
export declare function __read(o: any, n?: number): any[];
2626
export declare function __spread(...args: any[][]): any[];
2727
export declare function __spreadArrays(...args: any[][]): any[];
2828
export declare function __await(v: any): any;
2929
export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any;
3030
export declare function __asyncDelegator(o: any): any;
31-
export declare function __asyncValues(o: any): any;
31+
export declare function __asyncValues<T>(o: AsyncIterable<T> | Iterable<T> | ArrayLike<T>): AsyncIterator<T>;
3232
export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray;
3333
export declare function __importStar<T>(mod: T): T;
3434
export declare function __importDefault<T>(mod: T): T | { default: T };

0 commit comments

Comments
 (0)