fix ts types from Entity<unknown> to Tag for appropriate entities

This commit is contained in:
maeriil 2025-01-20 03:50:42 -05:00
parent b3ab540705
commit a8570e89a7

10
jecs.d.ts vendored
View file

@ -234,12 +234,12 @@ export function pair_second<P, O>(world: World, p: Pair<P, O>): Entity<O>;
export declare const OnAdd: Entity<(e: Entity) => void>;
export declare const OnRemove: Entity<(e: Entity) => void>;
export declare const OnSet: Entity<(e: Entity, value: unknown) => void>;
export declare const ChildOf: Entity;
export declare const ChildOf: Tag;
export declare const Wildcard: Entity;
export declare const w: Entity;
export declare const OnDelete: Entity;
export declare const OnDeleteTarget: Entity;
export declare const Delete: Entity;
export declare const Remove: Entity;
export declare const OnDelete: Tag;
export declare const OnDeleteTarget: Tag;
export declare const Delete: Tag;
export declare const Remove: Tag;
export declare const Name: Entity<string>;
export declare const Rest: Entity;