Compare commits

..

2 commits

Author SHA1 Message Date
Clown
0cb82207a2
Merge 96bed9bd7e into 48a43d4ff8 2025-05-07 10:42:40 -04:00
Ukendio
48a43d4ff8 Update outwards facing types
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-05-07 15:52:02 +02:00

View file

@ -2403,9 +2403,9 @@ export type ComponentRecord = {
flags: number,
size: number,
hooks: {
on_add: ((entity: Entity) -> ())?,
on_set: ((entity: Entity, data: any) -> ())?,
on_remove: ((entity: Entity) -> ())?,
on_add: (<T>(entity: Entity, id: Entity<T>, value: T) -> ())?,
on_change: (<T>(entity: Entity, id: Entity<T>, value: T) -> ())?,
on_remove: ((entity: Entity, id: Entity) -> ())?,
},
}
export type ComponentIndex = Map<Id, ComponentRecord>