mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
file.ts(1,1): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
file2.ts(1,1): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
file3.ts(1,9): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
file4.ts(1,14): error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
|
|
|
|
==== refs.d.ts (0 errors) ====
|
|
declare module "path";
|
|
==== file.ts (1 errors) ====
|
|
import path from "path";
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
path.resolve("", "../");
|
|
export class Foo { }
|
|
==== file2.ts (1 errors) ====
|
|
import * as path from "path";
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
path.resolve("", "../");
|
|
export class Foo2 { }
|
|
==== file3.ts (1 errors) ====
|
|
import {default as resolve} from "path";
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
resolve("", "../");
|
|
export class Foo3 { }
|
|
==== file4.ts (1 errors) ====
|
|
import {Bar, default as resolve} from "path";
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.
|
|
resolve("", "../");
|
|
export { Bar } |