diff --git a/jecs.d.ts b/jecs.d.ts index 09f959b..959d08b 100644 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -246,7 +246,7 @@ export function component(): Entity; export function tag(): Entity; // note: original types had id: Entity, id: Id, which does not work with TS. -export function meta(e: Entity, id: Id, value: T): Entity +export function meta(e: Entity, id: Id, value?: T): Entity export function is_tag(world: World, id: Id): boolean;