We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repro
module.exports = { root: true, extends: '@react-native-community', parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], };
export type RootAction = ActionType<typeof import('./src/store/actions').default>; export type AppState = ReturnType<typeof import('./src/store/reducers').default>;
Expected Result
No errors here like it was before
Actual Result
/.../types.d.ts 4:74 error 'default' is not defined no-undef 5:73 error 'default' is not defined no-undef
Additional Info
In this files (actions and reducers) I have default export
const appReducer = combineReducers({ // ... }); export default appReducer;
Versions
@typescript-eslint/parser
4.14.2
TypeScript
4.1.3
ESLint
7.19.0
node
12.18.4
The text was updated successfully, but these errors were encountered:
fix(scope-manager): fix visiting of TSImportType
eae27c0
Fixes #3006
fix(scope-manager): fix visiting of TSImportType (#3008)
ce4fcbf
bradzacher
Successfully merging a pull request may close this issue.
Repro
Expected Result
No errors here like it was before
Actual Result
Additional Info
In this files (actions and reducers) I have default export
Versions
@typescript-eslint/parser
4.14.2
TypeScript
4.1.3
ESLint
7.19.0
node
12.18.4
The text was updated successfully, but these errors were encountered: