|
1 | | -/index.ts(1,45): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
2 | | -/index.ts(2,44): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
3 | 1 | /index.ts(6,50): error TS2821: Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'. |
4 | | -/index.ts(6,50): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
5 | 2 | /index.ts(7,14): error TS2305: Module '"pkg"' has no exported member 'ImportInterface'. |
6 | 3 | /index.ts(7,49): error TS2821: Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'. |
7 | | -/index.ts(7,49): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
8 | | -/index.ts(10,45): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
9 | | -/index.ts(11,44): error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
10 | 4 |
|
11 | 5 |
|
12 | | -==== /index.ts (9 errors) ==== |
| 6 | +==== /index.ts (3 errors) ==== |
13 | 7 | import type { RequireInterface } from "pkg" assert { "resolution-mode": "require" }; |
14 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
15 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
16 | 8 | import type { ImportInterface } from "pkg" assert { "resolution-mode": "import" }; |
17 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
18 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
19 | 9 |
|
20 | 10 | export interface LocalInterface extends RequireInterface, ImportInterface {} |
21 | 11 |
|
22 | 12 | import {type RequireInterface as Req} from "pkg" assert { "resolution-mode": "require" }; |
23 | 13 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
24 | 14 | !!! error TS2821: Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'. |
25 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
26 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
27 | 15 | import {type ImportInterface as Imp} from "pkg" assert { "resolution-mode": "import" }; |
28 | 16 | ~~~~~~~~~~~~~~~ |
29 | 17 | !!! error TS2305: Module '"pkg"' has no exported member 'ImportInterface'. |
30 | 18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
31 | 19 | !!! error TS2821: Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'. |
32 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
33 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
34 | 20 | export interface Loc extends Req, Imp {} |
35 | 21 |
|
36 | 22 | export type { RequireInterface } from "pkg" assert { "resolution-mode": "require" }; |
37 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
38 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
39 | 23 | export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" }; |
40 | | - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
41 | | -!!! error TS4125: Resolution mode assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'. |
42 | 24 |
|
43 | 25 | ==== /node_modules/pkg/package.json (0 errors) ==== |
44 | 26 | { |
|
0 commit comments