Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
{ "rules": { "@typescript-eslint/array-type": "error" } }
type Unwrap<T> = T extends Array<infer E> ? E : T extends ReadonlyArray<infer E> ? E : /* otherwise */ T
Expected Result
type Unwrap<T> = T extends (infer E)[] ? E : T extends ReadonlyArray<infer E> ? E : /* otherwise */ T
Actual Result
type Unwrap<T> = T extends infer E[] ? E : T extends ReadonlyArray<infer E> ? E : /* otherwise */ T
Additional Info
Nothing in particular.
Versions
@typescript-eslint/eslint-plugin
1.1.1
@typescript-eslint/parser
TypeScript
3.2.2
ESLint
5.12.1
node
11.9.0
npm
6.6.0
The text was updated successfully, but these errors were encountered:
[DOCS][no-unused-vars] improve documentation (typescript-eslint#172)
94a1b01
armano2
Successfully merging a pull request may close this issue.
Repro
Expected Result
Actual Result
Additional Info
Nothing in particular.
Versions
@typescript-eslint/eslint-plugin
1.1.1
@typescript-eslint/parser
1.1.1
TypeScript
3.2.2
ESLint
5.12.1
node
11.9.0
npm
6.6.0
The text was updated successfully, but these errors were encountered: