mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Merge pull request #181 from maeriil/ts-types-tag-fix
Some checks failed
Some checks failed
Typescript: Refine types to use proper values for tags commonly used in conjunction with pair
This commit is contained in:
commit
a39fc8d0a2
1 changed files with 5 additions and 5 deletions
10
jecs.d.ts
vendored
10
jecs.d.ts
vendored
|
@ -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 OnAdd: Entity<(e: Entity) => void>;
|
||||||
export declare const OnRemove: 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 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 Wildcard: Entity;
|
||||||
export declare const w: Entity;
|
export declare const w: Entity;
|
||||||
export declare const OnDelete: Entity;
|
export declare const OnDelete: Tag;
|
||||||
export declare const OnDeleteTarget: Entity;
|
export declare const OnDeleteTarget: Tag;
|
||||||
export declare const Delete: Entity;
|
export declare const Delete: Tag;
|
||||||
export declare const Remove: Entity;
|
export declare const Remove: Tag;
|
||||||
export declare const Name: Entity<string>;
|
export declare const Name: Entity<string>;
|
||||||
export declare const Rest: Entity;
|
export declare const Rest: Entity;
|
||||||
|
|
Loading…
Reference in a new issue