Skip to content

MapAreaOf beta ​

TypeAlias of @v12-engine/editor

ts
export type MapAreaOf<K extends string> = K extends keyof MapEditorAreas ? MapEditorAreas[K] : unknown;

The area of a game's own of an id, as MapEditorAreas says it: unknown for an id it does not name