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