Skip to content

Commit 2b57a92

Browse files
authoredMay 18, 2023
Use named reexport to satsify incomplete TS symbol resolution (#204)
1 parent 91fcbd0 commit 2b57a92

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed
 

‎modules/index.d.ts

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
1-
export * from '../tslib.js';
1+
// Note: named reexports are used instead of `export *` because
2+
// TypeScript itself doesn't resolve the `export *` when checking
3+
// if a particular helper exists.
4+
export {
5+
__extends,
6+
__assign,
7+
__rest,
8+
__decorate,
9+
__param,
10+
__esDecorate,
11+
__runInitializers,
12+
__propKey,
13+
__setFunctionName,
14+
__metadata,
15+
__awaiter,
16+
__generator,
17+
__exportStar,
18+
__values,
19+
__read,
20+
__spread,
21+
__spreadArrays,
22+
__spreadArray,
23+
__await,
24+
__asyncGenerator,
25+
__asyncDelegator,
26+
__asyncValues,
27+
__makeTemplateObject,
28+
__importStar,
29+
__importDefault,
30+
__classPrivateFieldGet,
31+
__classPrivateFieldSet,
32+
__classPrivateFieldIn,
33+
__createBinding,
34+
} from '../tslib.js';
235
export * as default from '../tslib.js';

0 commit comments

Comments
 (0)
Please sign in to comment.