Skip to content

Commit c47d53f

Browse files
chore: remove importsNotUsedAsValues (#4897)
Co-authored-by: Johnson Chu <[email protected]>
1 parent d6ccd58 commit c47d53f

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

packages/tsc/tests/typecheck.spec.ts

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ describe(`vue-tsc`, () => {
3535
"test-workspace/tsc/failureFixtures/directives/main.vue(4,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
3636
"test-workspace/tsc/failureFixtures/directives/main.vue(9,6): error TS2339: Property 'notExist' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { exist: typeof exist; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.",
3737
"test-workspace/tsc/failureFixtures/directives/main.vue(12,2): error TS2578: Unused '@ts-expect-error' directive.",
38-
"test-workspace/tsc/passedFixtures/#3373/tsconfig.json(4,3): error TS5102: Option 'importsNotUsedAsValues' has been removed. Please remove it from your configuration.
39-
Use 'verbatimModuleSyntax' instead.",
4038
]
4139
`);
4240
});
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"importsNotUsedAsValues": "error",
5-
"ignoreDeprecations": "5.0"
6-
},
73
"include": [ "**/*" ]
84
}

tsconfig.base.json

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"noUnusedParameters": true,
1212
"esModuleInterop": false,
1313
"forceConsistentCasingInFileNames": true,
14-
"ignoreDeprecations": "5.0",
15-
"importsNotUsedAsValues": "error",
1614
},
1715
"include": [ ],
1816
}

0 commit comments

Comments
 (0)