Page URL: On “Object Types” under “ Index Signatures”: https://www.typescriptlang.org/docs/handbook/2/objects.html#index-signatures
Issue: There is this statement:
An index signature property type must be either ‘string’ or ‘number’.
But since TypeScript 4.4 not only number and string are allowed, but also symbol, template string patterns, and union types consisting only of these. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#symbol-and-template-string-pattern-index-signatures
Recommended Fix: I created #2439 some time ago but nobody looked at it yet. :-( Would be nice if someone can take a look and either merge it or give feedback what is wrong with it.
Page URL: On “Object Types” under “ Index Signatures”: https://www.typescriptlang.org/docs/handbook/2/objects.html#index-signatures
Issue: There is this statement:
But since TypeScript 4.4 not only
numberandstringare allowed, but alsosymbol, template string patterns, and union types consisting only of these. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#symbol-and-template-string-pattern-index-signaturesRecommended Fix: I created #2439 some time ago but nobody looked at it yet. :-( Would be nice if someone can take a look and either merge it or give feedback what is wrong with it.