Correct Archetype field types (#268)

This commit is contained in:
dai 2025-08-17 22:58:41 +03:00 committed by GitHub
parent 65a27a798a
commit 0bc1848554
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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