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
In this case:
let a= [[2]]; a;
The TSC infers this case to be let a: number[][], link but the current STC infers
let a: number[][]
x Type ,-[$DIR/tests/pass/vars/typeAnn/tuple/2.ts:1:1] 1 | let a = [[1]]; 2 | a; : ^ `---- Error: > [number][]
in my opinion, it should be inferred like TSC for more than two-dimensional arrays.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this case:
The TSC infers this case to be
let a: number[][]
, linkbut the current STC infers
in my opinion, it should be inferred like TSC for more than two-dimensional arrays.
The text was updated successfully, but these errors were encountered: