diff --git a/types/server/index.d.ts b/types/server/index.d.ts index 7ba68c894..b232396d9 100644 --- a/types/server/index.d.ts +++ b/types/server/index.d.ts @@ -802,6 +802,8 @@ declare module "@altv/server" { public onCreate?(opts: VirtualEntityCreateOptions): void; public onDestroy?(): void; + static readonly all: ReadonlyArray; + static getByID(id: number): VirtualEntity | null; static create(opts: VirtualEntityCreateOptions): VirtualEntity; diff --git a/types/server/package.json b/types/server/package.json index 1e1c36ed0..c7cf7c3c2 100644 --- a/types/server/package.json +++ b/types/server/package.json @@ -1,6 +1,6 @@ { "name": "@altv/server", - "version": "0.0.39", + "version": "0.0.40", "description": "This package contains the type definitions for the alt:V JS module v2 server types", "types": "index.d.ts", "files": [