Merge pull request #181 from maeriil/ts-types-tag-fix
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled

Typescript: Refine types to use proper values for tags commonly used in conjunction with pair
This commit is contained in:
EncodedVenom 2025-01-20 21:15:32 -05:00 committed by GitHub
commit a39fc8d0a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 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;