mirror of
https://github.com/Ukendio/jecs.git
synced 2025-09-14 04:29:18 +00:00
Correct Archetype field types (#268)
This commit is contained in:
parent
65a27a798a
commit
0bc1848554
1 changed files with 2 additions and 2 deletions
4
jecs.d.ts
vendored
4
jecs.d.ts
vendored
|
@ -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>> };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue