DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
dynamic key interface typescript
type MyKey = 'key1' | 'key2' | ... const myObject: Record<MyKey, object[]> = { ... }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#dynamic
#key
#interface
#typescript
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit