Correct Archetype field types

This commit is contained in:
daimond113 2025-08-14 16:49:34 +02:00
parent 65a27a798a
commit 0c40355bec
No known key found for this signature in database

4
jecs.d.ts vendored
View file

@ -49,9 +49,9 @@ export type Column<T> = T[];
export type Archetype<T extends Id[]> = {
id: number;
types: number[];
types: Entity[];
type: string;
entities: number[];
entities: Entity[];
columns: Column<unknown>[];
columns_map: { [K in T[number]]: Column<InferComponent<K>> };
};