-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) * resolve: Pass implied module kind to typescript * resolve: Fix detection of declaration files * test: Replace inexistent package * test: Fix broken docker image * devcontainer: Update outdated settings * resolve: Allow `.cts`, `.mts`, `.cjs` and `.mjs` * resolve: Fix broken `enhanced-resolve` calls * resolve: Improve type safety * interop: Create a separate regex for declarations * types: Remove unnecessary return type * test: Add remark on how to regenerate tests * test: Regenerate comparison-tests * Bump the version number * Add changelog entry * doc: Update CHANGELOG.md Co-authored-by: John Reilly <johnny_reilly@hotmail.com> Co-authored-by: John Reilly <johnny_reilly@hotmail.com>
- Loading branch information
1 parent
69a9c23
commit a810470
Showing
57 changed files
with
137 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.devcontainer | ||
.git | ||
.github | ||
.vscode | ||
.test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
test/comparison-tests/aliasResolution/expectedOutput-4.8/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
asset bundle.js 2.6 KiB [emitted] (name: main) | ||
./app.ts 120 bytes [built] [code generated] [2 errors] | ||
./app.ts 120 bytes [built] [code generated] [1 error] | ||
./common/components/myComponent.ts 46 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-53 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
ERROR in app.ts | ||
./app.ts 2:30-55 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
webpack compiled with 2 errors | ||
webpack compiled with 1 error |
10 changes: 2 additions & 8 deletions
10
test/comparison-tests/aliasResolution/expectedOutput-4.8/patch0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
asset bundle.js 2.6 KiB [emitted] (name: main) | ||
cached modules 120 bytes [cached] 1 module | ||
./app.ts 120 bytes [built] [code generated] [1 error] | ||
./common/components/myComponent.ts 45 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-53 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
ERROR in app.ts | ||
./app.ts 2:30-55 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
webpack compiled with 2 errors | ||
webpack compiled with 1 error |
9 changes: 2 additions & 7 deletions
9
test/comparison-tests/errorFormatter/expectedOutput-4.8/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
asset bundle.js 2.6 KiB [emitted] (name: main) | ||
./app.ts 120 bytes [built] [code generated] [2 errors] | ||
./app.ts 120 bytes [built] [code generated] [1 error] | ||
./common/components/myComponent.ts 46 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-53 | ||
Does not compute.... [1m[31mcode: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter[39m[22m | ||
ts-loader-default_85b0565984bbe8dd | ||
|
||
ERROR in app.ts | ||
./app.ts 2:30-55 | ||
Does not compute.... [1m[31mcode: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter[39m[22m | ||
ts-loader-default_85b0565984bbe8dd | ||
|
||
webpack compiled with 2 errors | ||
webpack compiled with 1 error |
11 changes: 2 additions & 9 deletions
11
test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.8/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
asset bundle.js 2.59 KiB [emitted] (name: main) | ||
./app.ts 101 bytes [built] [code generated] [1 error] | ||
./app.ts 101 bytes [built] [code generated] | ||
./fake.ts 165 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-34 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'api' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
webpack compiled with 1 error | ||
webpack compiled successfully |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.8/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.