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
From @danibishop on July 26, 2016 8:31
Steps to Reproduce:
This makes the spellcheck fail in the parameter name for the index because "An index signature parameter type must be 'string' or 'number'"
` var d1: { [id: string]: {}; } = {} // Spellcheck Ok
type otherString = string;
var d2: { [id: otherString]: {}; } = {} // Spellcheck complains about 'id' `
Copied from original issue: microsoft/vscode#9745
The text was updated successfully, but these errors were encountered:
Same exception with enums:
enum X { one, two } type Obj = { [ind: X]: any // An index signature parameter type must be 'string' or 'number'. }
Sorry, something went wrong.
Duplicate of #1778, #7374, #8336, #5683, #2491, or #7656 depending on what you want to do.
No branches or pull requests
From @danibishop on July 26, 2016 8:31
Steps to Reproduce:
This makes the spellcheck fail in the parameter name for the index because "An index signature parameter type must be 'string' or 'number'"
`
var d1: { [id: string]: {}; } = {} // Spellcheck Ok
type otherString = string;
var d2: { [id: otherString]: {}; } = {} // Spellcheck complains about 'id'
`
Copied from original issue: microsoft/vscode#9745
The text was updated successfully, but these errors were encountered: