Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Repro
{"rules": {"@typescript-eslint/no-type-alias": ["error", {"allowAliases":"always","allowCallbacks":"always","allowLiterals":"in-unions-and-intersections","allowMappedTypes":"always","allowTupleTypes":"always", }, ] }}
exporttypeValue=null|string|number
Expected Result
No errors
Actual Result
Unhandled in union types are not allowed.eslint@typescript-eslint/no-type-alias
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 3.7.0 |
@typescript-eslint/parser | 3.7.0 |
TypeScript | 3.9.7 |
ESLint | 7.5.0 |
node | 14.6.0 |
npm | 6.14.6 |