Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typescript object destructuring

let { a, b }: { a: string; b: number } = o;
Source by www.typescriptlang.org #
 
PREVIOUS NEXT
Tagged: #typescript #object #destructuring
ADD COMMENT
Topic
Name
8+3 =