Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript dynamic dict

interface SampleObject {
  color?: string;
  width?: number;
  [propName: string]: number | string;
}
Source by www.typescriptlang.org #
 
PREVIOUS NEXT
Tagged: #typescript #dynamic #dict
ADD COMMENT
Topic
Name
1+3 =