diff --git a/jecs.d.ts b/jecs.d.ts
index 72b3215..daba057 100644
--- a/jecs.d.ts
+++ b/jecs.d.ts
@@ -280,9 +280,9 @@ export function pair_first
(world: World, p: Pair
): Entity
;
*/
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 OnChange: Entity<(e: Entity, value: unknown) => void>;
+export declare const OnAdd: Entity<(e: Entity, id: Id, data: T) => void>;
+export declare const OnRemove: Entity<(e: Entity, id: Id) => void>;
+export declare const OnChange: Entity<(e: Entity, id: Id, data: T) => void>;
export declare const ChildOf: Tag;
export declare const Wildcard: Entity;
export declare const w: Entity;