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 was archived by the owner on Jan 19, 2019. It is now read-only.
Type annotations are not marked as used by typescript/no-unused-vars, so eslint:recommended/no-unused-vars marks this as an error.
// type literal declared elsewhereimport{Nullable}from'../types';conststr: Nullable<string>='hello';console.log(str);
I know there is still a lot of work to do before we can say this rule is working as expected, but I think adding this won't hurt... current work is being tracked in the typescript-eslint-parser repo.
The text was updated successfully, but these errors were encountered:
weirdpattern
added a commit
to weirdpattern/eslint-plugin-typescript
that referenced
this issue
Aug 23, 2017
Type annotations are not marked as used by typescript/no-unused-vars, so eslint:recommended/no-unused-vars marks this as an error.
I know there is still a lot of work to do before we can say this rule is working as expected, but I think adding this won't hurt... current work is being tracked in the typescript-eslint-parser repo.
The text was updated successfully, but these errors were encountered: