Compare commits

..

1 commit

Author SHA1 Message Date
Ajay
4be298dd34
Merge 918231a1ad into c62db9f8c3 2025-05-28 10:01:06 -07:00

6
jecs.d.ts vendored
View file

@ -244,12 +244,12 @@ export class World {
export function component<T>(): Entity<T>; export function component<T>(): Entity<T>;
export function tag(): Tag; export function tag<T>(): Entity<T>;
// note: original types had id: Entity, id: Id<T>, which does not work with TS. // note: original types had id: Entity, id: Id<T>, which does not work with TS.
export function meta<T>(e: Entity, id: Id<T>, value?: T): Entity<T>; export function meta<T>(e: Entity, id: Id<T>, value?: T): Entity<T>
export function is_tag(world: World, id: Id): boolean; export function is_tag<T>(world: World, id: Id<T>): boolean;
/** /**
* Creates a composite key (pair) * Creates a composite key (pair)