diff --git a/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.error-diff.json new file mode 100644 index 0000000000..e38ae59eac --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 11 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/externalModules/exportAssignmentOfExportNamespaceWithDefault.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.error-diff.json index 780688364c..187106871f 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.error-diff.json @@ -8,10 +8,11 @@ ] }, "extra_errors": { - "TS2307": 1 + "TS2307": 2 }, "extra_error_lines": { "TS2307": [ + 6, 6 ] } diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.stats.rust-debug index c0ac063550..d3ac857022 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxChildrenCanBeTupleType.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 1, matched_error: 0, - extra_error: 1, + extra_error: 2, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.error-diff.json index 75b5a44e26..543ad32e8c 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.error-diff.json @@ -2,11 +2,12 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { - "TS2307": 1, + "TS2307": 2, "TS7005": 1 }, "extra_error_lines": { "TS2307": [ + 6, 6 ], "TS7005": [ diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxSubtleSkipContextSensitiveBug.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.error-diff.json index cebe213c5c..c29f438208 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.error-diff.json @@ -2,12 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { - "TS2307": 1, + "TS2307": 2, "TS7010": 1, "TS7005": 1 }, "extra_error_lines": { "TS2307": [ + 6, 6 ], "TS7010": [ diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.stats.rust-debug index 7d12ad5c64..f8c5b3550b 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/checkJsxUnionSFXContextualTypeInferredCorrectly.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 3, + extra_error: 4, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).error-diff.json index a840ea9e17..7d36c3a8e2 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 1 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).stats.rust-debug index 0498397634..d45524b098 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 1, + extra_error: 2, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).error-diff.json index a840ea9e17..7d36c3a8e2 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 1 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).stats.rust-debug index 0498397634..d45524b098 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformChildren(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 1, + extra_error: 2, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).error-diff.json index 2ea6658feb..9653145007 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).error-diff.json @@ -1,14 +1,9 @@ { - "required_errors": { - "TS2307": 1 - }, - "required_error_lines": { - "TS2307": [ - 3 - ] - }, + "required_errors": {}, + "required_error_lines": {}, "extra_errors": { - "TS7005": 4 + "TS7005": 4, + "TS2307": 1 }, "extra_error_lines": { "TS7005": [ @@ -16,6 +11,9 @@ 6, 5, 7 + ], + "TS2307": [ + 3 ] } } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).stats.rust-debug index 87df4a596e..99011f3272 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { - required_error: 1, - matched_error: 0, - extra_error: 4, + required_error: 0, + matched_error: 1, + extra_error: 5, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).error-diff.json index 2ea6658feb..9653145007 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).error-diff.json @@ -1,14 +1,9 @@ { - "required_errors": { - "TS2307": 1 - }, - "required_error_lines": { - "TS2307": [ - 3 - ] - }, + "required_errors": {}, + "required_error_lines": {}, "extra_errors": { - "TS7005": 4 + "TS7005": 4, + "TS2307": 1 }, "extra_error_lines": { "TS7005": [ @@ -16,6 +11,9 @@ 6, 5, 7 + ], + "TS2307": [ + 3 ] } } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).stats.rust-debug index 87df4a596e..99011f3272 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImportPragma(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { - required_error: 1, - matched_error: 0, - extra_error: 4, + required_error: 0, + matched_error: 1, + extra_error: 5, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).error-diff.json index d1979a8847..89cc5dbfaa 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 6, 7 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).error-diff.json index d1979a8847..89cc5dbfaa 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 6, 7 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyProp(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).error-diff.json index dc0ea10952..ce59ccb9b4 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).error-diff.json @@ -8,9 +8,14 @@ ] }, "extra_errors": { + "TS2307": 2, "TS7005": 4 }, "extra_error_lines": { + "TS2307": [ + 3, + 3 + ], "TS7005": [ 4, 5, diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).stats.rust-debug index 87df4a596e..6c9e6f8a3c 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 1, matched_error: 0, - extra_error: 4, + extra_error: 6, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).error-diff.json index dc0ea10952..ce59ccb9b4 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).error-diff.json @@ -8,9 +8,14 @@ ] }, "extra_errors": { + "TS2307": 2, "TS7005": 4 }, "extra_error_lines": { + "TS2307": [ + 3, + 3 + ], "TS7005": [ 4, 5, diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).stats.rust-debug index 87df4a596e..6c9e6f8a3c 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImportPragma(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 1, matched_error: 0, - extra_error: 4, + extra_error: 6, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).error-diff.json index aa18a3e364..7381c16eaf 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).error-diff.json @@ -2,11 +2,12 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { - "TS2307": 1, + "TS2307": 2, "TS7005": 7 }, "extra_error_lines": { "TS2307": [ + 5, 5 ], "TS7005": [ diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).stats.rust-debug index e9a3890f5d..48117d2c81 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 8, + extra_error: 9, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).error-diff.json index aa18a3e364..7381c16eaf 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).error-diff.json @@ -2,11 +2,12 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { - "TS2307": 1, + "TS2307": 2, "TS7005": 7 }, "extra_error_lines": { "TS2307": [ + 5, 5 ], "TS7005": [ diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).stats.rust-debug index e9a3890f5d..48117d2c81 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformNestedSelfClosingChild(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 8, + extra_error: 9, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).error-diff.json index a840ea9e17..7d36c3a8e2 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 1 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).stats.rust-debug index 0498397634..d45524b098 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 1, + extra_error: 2, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).error-diff.json index a840ea9e17..7d36c3a8e2 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 1 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).stats.rust-debug index 0498397634..d45524b098 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNames(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 1, + extra_error: 2, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).error-diff.json index 4325b201f6..c7e622144f 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 6, 8 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).error-diff.json index 4325b201f6..c7e622144f 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 6, 8 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/jsxs/jsxJsxsCjsTransformSubstitutesNamesFragment(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).error-diff.json index fa863254f0..ec894ef590 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5, 6 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsx).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).error-diff.json index fa863254f0..ec894ef590 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).error-diff.json @@ -2,9 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 5 + ], "TS7005": [ 5, 6 diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmit8(jsx=react-jsxdev).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).error-diff.json new file mode 100644 index 0000000000..5bbdac3469 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 3 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2015).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).error-diff.json new file mode 100644 index 0000000000..5bbdac3469 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 3 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=es2018).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).error-diff.json b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).error-diff.json new file mode 100644 index 0000000000..5bbdac3469 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 3 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/jsx/tsxReactEmitSpreadAttribute(target=esnext).stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.error-diff.json index 9b550fd229..6f1f206246 100644 --- a/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.error-diff.json @@ -2,12 +2,13 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { - "TS2307": 2 + "TS2307": 3 }, "extra_error_lines": { "TS2307": [ 1, - 2 + 2, + 6 ] } } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.stats.rust-debug index d45524b098..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/moduleResolution/allowImportingTypesDtsExtension.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 2, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.error-diff.json new file mode 100644 index 0000000000..7c6e505964 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 2 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-1.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.error-diff.json new file mode 100644 index 0000000000..7c6e505964 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 2 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-3.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.error-diff.json new file mode 100644 index 0000000000..70141c5123 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.error-diff.json @@ -0,0 +1,14 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 3 + }, + "extra_error_lines": { + "TS2307": [ + 2, + 4, + 1 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.stats.rust-debug index c086b5ab15..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-4.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.error-diff.json index d96d78547f..3a1b51456c 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.error-diff.json @@ -7,6 +7,14 @@ 1 ] }, - "extra_errors": {}, - "extra_error_lines": {} + "extra_errors": { + "TS2307": 3 + }, + "extra_error_lines": { + "TS2307": [ + 2, + 4, + 1 + ] + } } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.stats.rust-debug index 4af5bf17ec..efea2c0329 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-5.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 1, matched_error: 0, - extra_error: 0, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.error-diff.json new file mode 100644 index 0000000000..7c6e505964 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 2 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-7.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.error-diff.json new file mode 100644 index 0000000000..9df5d88278 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.error-diff.json @@ -0,0 +1,14 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 3 + }, + "extra_error_lines": { + "TS2307": [ + 3, + 4, + 2 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.stats.rust-debug index c086b5ab15..7d12ad5c64 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-8.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 3, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.error-diff.json new file mode 100644 index 0000000000..dba7272865 --- /dev/null +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.error-diff.json @@ -0,0 +1,12 @@ +{ + "required_errors": {}, + "required_error_lines": {}, + "extra_errors": { + "TS2307": 1 + }, + "extra_error_lines": { + "TS2307": [ + 1 + ] + } +} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.stats.rust-debug index c086b5ab15..0498397634 100644 --- a/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/references/library-reference-scoped-packages.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 0, + extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.error-diff.json index d8db441db2..03d5257c1e 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.error-diff.json @@ -2,9 +2,15 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 3, "TS0": 1 }, "extra_error_lines": { + "TS2307": [ + 10, + 33, + 40 + ], "TS0": [ 28 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.stats.rust-debug index 0498397634..f8c5b3550b 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbient.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 1, + extra_error: 4, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.error-diff.json deleted file mode 100644 index 5e7c93b207..0000000000 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.error-diff.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "required_errors": { - "TS2307": 1 - }, - "required_error_lines": { - "TS2307": [ - 10 - ] - }, - "extra_errors": {}, - "extra_error_lines": {} -} \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.stats.rust-debug index 4af5bf17ec..f3e39f53bd 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeAmbientMissing.stats.rust-debug @@ -1,6 +1,6 @@ Stats { - required_error: 1, - matched_error: 0, + required_error: 0, + matched_error: 1, extra_error: 0, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.error-diff.json index 1fdcae7c6b..77be6774be 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.error-diff.json @@ -1,14 +1,8 @@ { "required_errors": { - "TS2307": 3, "TS2694": 1 }, "required_error_lines": { - "TS2307": [ - 1, - 2, - 10 - ], "TS2694": [ 3 ] diff --git a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.stats.rust-debug index a970887edf..c28efdd8e5 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/types/import/importTypeLocalMissing.stats.rust-debug @@ -1,6 +1,6 @@ Stats { - required_error: 4, - matched_error: 0, + required_error: 1, + matched_error: 3, extra_error: 1, panic: 0, } \ No newline at end of file diff --git a/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.error-diff.json b/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.error-diff.json index 4fa8391289..4a5e33d920 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.error-diff.json +++ b/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.error-diff.json @@ -2,11 +2,15 @@ "required_errors": {}, "required_error_lines": {}, "extra_errors": { + "TS2307": 1, "TS2322": 6, "TS7010": 1, "TS7005": 2 }, "extra_error_lines": { + "TS2307": [ + 9 + ], "TS2322": [ 41, 53, diff --git a/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.stats.rust-debug b/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.stats.rust-debug index 48117d2c81..8b929ae3fd 100644 --- a/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.stats.rust-debug +++ b/crates/stc_ts_type_checker/tests/conformance/types/typeRelationships/typeInference/intraExpressionInferencesJsx.stats.rust-debug @@ -1,6 +1,6 @@ Stats { required_error: 0, matched_error: 0, - extra_error: 9, + extra_error: 10, panic: 0, } \ No newline at end of file