这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: support Node16 and NodeNext module resolution in experimentalDts #1020

fix: support Node16 and NodeNext module resolution in experimentalDts

fix: support Node16 and NodeNext module resolution in experimentalDts #1020

Triggered via pull request October 18, 2024 00:23
Status Failure
Total duration 2m 31s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

37 errors
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'NodeNext' module resolution and module set to 'NodeNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node16' module resolution and module set to 'Node16': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'Preserve': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array: test/experimental-dts.test.ts#L137
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:137:51
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array of globs: test/experimental-dts.test.ts#L206
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:206:51
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'NodeNext' module resolution and module set to 'NodeNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node16' module resolution and module set to 'Node16': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'Preserve': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array: test/experimental-dts.test.ts#L137
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:137:51
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array of globs: test/experimental-dts.test.ts#L206
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:206:51
test (windows-latest, 22)
The job was canceled because "ubuntu-latest_22" failed.
test (windows-latest, 22)
The operation was canceled.
test (windows-latest, 20)
The job was canceled because "ubuntu-latest_22" failed.
test (windows-latest, 20)
The operation was canceled.
test (windows-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
test (windows-latest, 18)
The operation was canceled.
test (ubuntu-latest, 18)
The job was canceled because "ubuntu-latest_22" failed.
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'NodeNext' module resolution and module set to 'NodeNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node16' module resolution and module set to 'Node16': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Bundler' module resolution and module set to 'Preserve': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node10' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'ESNext': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works with TypeScript's 'Node' module resolution and module set to 'CommonJS': test/experimental-dts.test.ts#L71
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:71:53
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array: test/experimental-dts.test.ts#L137
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:137:51
test/experimental-dts.test.ts > experimentalDts works when `entry` is set to an array of globs: test/experimental-dts.test.ts#L206
AssertionError: expected 'export declare const foo: number[];\n…' to strictly equal 'export declare const foo: number[];\r…' - Expected + Received - export declare const foo: number[]; - + export declare const foo: number[]; + - export declare type Person = { + export declare type Person = { - name: string; + name: string; - }; - + }; + - export { } + export { } ❯ test/experimental-dts.test.ts:206:51