Descripción
Create a new map initialized with key-value pairs
File Template: ❌
Prefix
map:of
Scopes
typescript
Snippet de código
const ${1:map}: Map<${2:string}, ${3:number}> = new Map([${4:[key, value]}]);
Create a new map initialized with key-value pairs
map:of
typescript
const ${1:map}: Map<${2:string}, ${3:number}> = new Map([${4:[key, value]}]);