-
-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle
module-not-found
error occurred while preparing module (#…
- Loading branch information
1 parent
bec48ce
commit 9e4c9b3
Showing
23 changed files
with
51 additions
and
121 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
12 changes: 0 additions & 12 deletions
12
.../conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 1, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
12 changes: 0 additions & 12 deletions
12
crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 1, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
12 changes: 0 additions & 12 deletions
12
crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 1, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
14 changes: 0 additions & 14 deletions
14
crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 3, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
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
crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 1, | ||
matched_error: 0, | ||
extra_error: 3, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
12 changes: 0 additions & 12 deletions
12
crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 1, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
14 changes: 0 additions & 14 deletions
14
crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 3, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
12 changes: 0 additions & 12 deletions
12
...pe_checker/tests/conformance/references/library-reference-scoped-packages.error-diff.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...e_checker/tests/conformance/references/library-reference-scoped-packages.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 1, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
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
crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 0, | ||
extra_error: 4, | ||
extra_error: 1, | ||
panic: 0, | ||
} |
12 changes: 12 additions & 0 deletions
12
...c_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.error-diff.json
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"required_errors": { | ||
"TS2307": 1 | ||
}, | ||
"required_error_lines": { | ||
"TS2307": [ | ||
10 | ||
] | ||
}, | ||
"extra_errors": {}, | ||
"extra_error_lines": {} | ||
} |
4 changes: 2 additions & 2 deletions
4
..._ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.stats.rust-debug
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 0, | ||
matched_error: 1, | ||
required_error: 1, | ||
matched_error: 0, | ||
extra_error: 0, | ||
panic: 0, | ||
} |
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,6 +1,6 @@ | ||
Stats { | ||
required_error: 2860, | ||
matched_error: 7175, | ||
extra_error: 1107, | ||
required_error: 2861, | ||
matched_error: 7174, | ||
extra_error: 1090, | ||
panic: 3, | ||
} |