mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
Update typescript types
This commit is contained in:
parent
8fa6c74b15
commit
5deb7e5b35
2 changed files with 52 additions and 49 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@rbxts/jecs",
|
||||
"version": "0.2.9",
|
||||
"version": "0.2.10",
|
||||
"description": "Stupidly fast Entity Component System",
|
||||
"main": "src/init",
|
||||
"repository": {
|
||||
|
|
9
src/index.d.ts
vendored
9
src/index.d.ts
vendored
|
@ -159,10 +159,13 @@ export const IS_PAIR: (e: Entity) => boolean;
|
|||
*/
|
||||
export const Component: Entity;
|
||||
|
||||
export const OnAdd: Entity;
|
||||
export const OnRemove: Entity;
|
||||
export const OnSet: Entity;
|
||||
export const OnAdd: Entity<(e: Entity) => void>;
|
||||
export const OnRemove: Entity<(e: Entity) => void>;
|
||||
export const OnSet: Entity<(e: Entity, value: unknown) => void>;
|
||||
export const OnDeleteTarget: Entity;
|
||||
export const OnDelete: Entity;
|
||||
export const Delete: Entity;
|
||||
export const Remove: Entity;
|
||||
export const Tag: Entity;
|
||||
export const Wildcard: Entity;
|
||||
export const Rest: Entity;
|
||||
|
|
Loading…
Reference in a new issue