Skip to content

Commit

Permalink
fix ts types from Entity<unknown> to Tag for appropriate entities
Browse files Browse the repository at this point in the history
  • Loading branch information
maeriil committed Jan 20, 2025
1 parent b3ab540 commit a8570e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jecs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit a8570e8

Please sign in to comment.