Skip to content

Correct types for index signature properties - #2439

Merged
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:v2from
datenreisender:patch-2
Nov 29, 2022
Merged

Correct types for index signature properties#2439
Andrew Branch (andrewbranch) merged 1 commit into
microsoft:v2from
datenreisender:patch-2

Conversation

@datenreisender

@datenreisender Marko Schulz (datenreisender) commented Jun 30, 2022

Copy link
Copy Markdown
Contributor

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

Fixes #2525.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Outdated statement on index signature

2 participants