Skip to content

Commit

Permalink
updated archetype number type
Browse files Browse the repository at this point in the history
  • Loading branch information
maeriil committed Jan 31, 2025
1 parent c123014 commit f1119ca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jecs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ type FlattenTuple<T extends unknown[]> = T extends [infer U] ? U : LuaTuple<T>;
type Nullable<T extends unknown[]> = { [K in keyof T]: T[K] | undefined };
type InferComponents<A extends Id[]> = { [K in keyof A]: InferComponent<A[K]> };

type i53 = number
type i24 = number
type Ty = i53[];
type ArchetypeId = number
type Column = unknown[];

Expand All @@ -53,7 +50,7 @@ type ArchetypeRecord = {

export type Archetype = {
id: number;
types: Ty;
types: number[];
type: string;
entities: number[];
columns: Column[];
Expand Down

0 comments on commit f1119ca

Please sign in to comment.