DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript how to add a property to an object
const myObject: {[key: string]: any} = { property: 'value' }; myObject.property2 = 'value2';
PREVIOUS
NEXT
Tagged:
#typescript
#add
#property
#object
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit