Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript object key as enum

let layer: Partial<Record<MyEnum, any>>;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #object #key #enum
ADD COMMENT
Topic
Name
3+6 =