From a8570e89a7ff7a80fb1f6fed0537eb3e6e45ed62 Mon Sep 17 00:00:00 2001 From: maeriil Date: Mon, 20 Jan 2025 03:50:42 -0500 Subject: [PATCH] fix ts types from Entity to Tag for appropriate entities --- jecs.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jecs.d.ts b/jecs.d.ts index a343b4e..136dcb9 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -234,12 +234,12 @@ export function pair_second(world: World, p: Pair): Entity; 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; export declare const Rest: Entity;