Answers for "index signature in typescript"

-1

index signature in typescript

let foo: any = {};
foo['Hello'] = 'World';
console.log(foo['Hello']); // World
Posted by: Guest on December-07-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language