DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript declare dictionary type
var persons: { [id: string] : string; } = {}; persons["p1"] = { firstName: "F1", lastName: "L1" };
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#typescript
#declare
#dictionary
#type
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit