Answers for "typescript set a type to an empty array"

1

how to declare an empty array in typescript

public arrayName=[] as any;
Posted by: Guest on December-06-2021
3

initialize empty array typescript

let temp: Criminal[] = [];
Posted by: Guest on May-19-2020

Code answers related to "typescript set a type to an empty array"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language