From 0056a265e3da04cab6998dee35c5380a808be099 Mon Sep 17 00:00:00 2001 From: Sivak <141945552+flowers3176@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:28:12 -0400 Subject: [PATCH] Change OnSet to OnChange in type definitions for typescript --- jecs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jecs.d.ts b/jecs.d.ts index eed8b79..7e53388 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -258,7 +258,7 @@ 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 OnChange: Entity<(e: Entity, value: unknown) => void>; export declare const ChildOf: Tag; export declare const Wildcard: Entity; export declare const w: Entity;