You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExternalEmitHelpersRestExternalEmitHelpers=1<<iota// __rest (used by ESNext object rest transformation)
118
+
ExternalEmitHelpersDecorate// __decorate (used by TypeScript decorators transformation)
119
+
ExternalEmitHelpersMetadata// __metadata (used by TypeScript decorators transformation)
120
+
ExternalEmitHelpersParam// __param (used by TypeScript decorators transformation)
121
+
ExternalEmitHelpersAwaiter// __awaiter (used by ES2017 async functions transformation)
122
+
ExternalEmitHelpersAwait// __await (used by ES2017 async generator transformation)
123
+
ExternalEmitHelpersAsyncGenerator// __asyncGenerator (used by ES2017 async generator transformation)
124
+
ExternalEmitHelpersAsyncDelegator// __asyncDelegator (used by ES2017 async generator yield* transformation)
125
+
ExternalEmitHelpersAsyncValues// __asyncValues (used by ES2017 for..await..of transformation)
126
+
ExternalEmitHelpersExportStar// __exportStar (used by CommonJS/AMD/UMD module transformation)
127
+
ExternalEmitHelpersImportStar// __importStar (used by CommonJS/AMD/UMD module transformation)
128
+
ExternalEmitHelpersImportDefault// __importDefault (used by CommonJS/AMD/UMD module transformation)
129
+
ExternalEmitHelpersMakeTemplateObject// __makeTemplateObject (used for constructing template string array objects)
130
+
ExternalEmitHelpersClassPrivateFieldGet// __classPrivateFieldGet (used by the class private field transformation)
131
+
ExternalEmitHelpersClassPrivateFieldSet// __classPrivateFieldSet (used by the class private field transformation)
132
+
ExternalEmitHelpersClassPrivateFieldIn// __classPrivateFieldIn (used by the class private field transformation)
133
+
ExternalEmitHelpersSetFunctionName// __setFunctionName (used by class fields and ECMAScript decorators)
134
+
ExternalEmitHelpersPropKey// __propKey (used by class fields and ECMAScript decorators)
135
+
ExternalEmitHelpersAddDisposableResourceAndDisposeResources// __addDisposableResource and __disposeResources (used by ESNext transformations)
136
+
ExternalEmitHelpersRewriteRelativeImportExtension// __rewriteRelativeImportExtension (used by --rewriteRelativeImportExtensions)
137
+
ExternalEmitHelpersESDecorateAndRunInitializers=ExternalEmitHelpersDecorate// __esDecorate and __runInitializers (used by ECMAScript decorators transformation)
error TS6504: File '/node_modules/tslib/tslib.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
2
+
The file is in the program because:
3
+
Root file specified for compilation
4
+
/privateIdentifierPropertyAccessDestructuringAssignmentES6.ts(5,19): error TS2343: This syntax requires an imported helper named '__classPrivateFieldSet' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
5
+
6
+
7
+
!!! error TS6504: File '/node_modules/tslib/tslib.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
8
+
!!! error TS6504: The file is in the program because:
9
+
!!! error TS6504: Root file specified for compilation
!!! error TS2343: This syntax requires an imported helper named '__classPrivateFieldSet' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
/combined.ts(1,1): error TS2343: This syntax requires an imported helper named '__importStar' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
2
+
/main.ts(1,1): error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
3
+
4
+
5
+
==== /tsconfig.json (0 errors) ====
6
+
{
7
+
"compilerOptions": {
8
+
"target": "es2015",
9
+
"module": "commonjs",
10
+
"importHelpers": true,
11
+
}
12
+
}
13
+
14
+
==== /main.ts (1 errors) ====
15
+
import greet from "./dependency";
16
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
+
!!! error TS2343: This syntax requires an imported helper named '__importDefault' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
18
+
19
+
export const message = greet("world");
20
+
21
+
==== /combined.ts (1 errors) ====
22
+
import greet, * as dependency from "./dependency";
!!! error TS2343: This syntax requires an imported helper named '__importStar' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'.
0 commit comments