You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
I am using typescript+vue2+script setup+vue-property-decorator.
I have to open typescipt compilerOptions.noUnusedLocals and disable '@typescript-eslint/no-unused-vars' rule to adapter scrip setup grammar,but an error occurs: 'TS6133: xxx is declared but its value is never read' is happen.
What should i do ?
export default class List extends Vue {
private loading: boolean = true
...
private created() {
//. to do
}
...
}
console
TS:6133 'loading' is declared but its value is never read.
> 165 | private loading: boolean = true
TS:6133 'created' is declared but its value is never read.
> 201 | private created() {
The text was updated successfully, but these errors were encountered:
zhouxiang1991
changed the title
i am using typescript+vue2+script setup, i have to open typescipt compilerOptions.noUnusedLocals and disable '@typescript-eslint/no-unused-vars' rule to adapter scrip setup grammar,but an error occurs: 'TS6133: 'xxx' is declared but its value is never read is happen'. what should i do ?
TS6133: 'xxx' is declared but its value is never read
Jun 20, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using typescript+vue2+script setup+vue-property-decorator.
I have to open typescipt compilerOptions.noUnusedLocals and disable '@typescript-eslint/no-unused-vars' rule to adapter scrip setup grammar,but an error occurs: 'TS6133: xxx is declared but its value is never read' is happen.
What should i do ?
eslintrc.js
tsconfig.json
*.vue
console
The text was updated successfully, but these errors were encountered: