Skip to content

IdOf ​

TypeAlias of @v12-engine/engine

ts
export type IdOf<T extends Readonly<Record<string, string>>> = keyof T & string;

The ids of a list made with defineIds, as a type: IdOf<typeof UNIT>