diff --git a/jecs.d.ts b/jecs.d.ts index f5aeb0d..3c885e2 100755 --- a/jecs.d.ts +++ b/jecs.d.ts @@ -346,10 +346,10 @@ export function bulk_insert( ): void; export function bulk_remove(world: World, entity: Entity, ids: Id[]): void; -export type EntityRecord = { - archetype: Archetype<[E]>, +export type EntityRecord = { + archetype: Archetype, row: number, dense: number, }; -export function record(world: World, entity: E): EntityRecord; \ No newline at end of file +export function record(world: World, entity: Entity): EntityRecord;