Map<K, V>

This type represents an object defined with the following type in TypeScript. The type in this example should provide a point of guidance for how it should function. Although the example below won't compile, K is always either a Path, FileModel or FileModelColumn so they can be used as an index.

type Map<K, V> = {
    [key: K]: V
}

Last updated