TypeScript Map Initialization with Values

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]}]);