Skip to content

Commit

Permalink
fix(server, typings): Add missing VE all property
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Apr 16, 2024
1 parent 9b30077 commit e14baec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions types/server/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@ declare module "@altv/server" {
public onCreate?(opts: VirtualEntityCreateOptions): void;
public onDestroy?(): void;

static readonly all: ReadonlyArray<VirtualEntity>;

static getByID(id: number): VirtualEntity | null;
static create(opts: VirtualEntityCreateOptions): VirtualEntity;

Expand Down
2 changes: 1 addition & 1 deletion types/server/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit e14baec

Please sign in to comment.