diff --git a/types/client/index.d.ts b/types/client/index.d.ts index 943739166..fb642102b 100644 --- a/types/client/index.d.ts +++ b/types/client/index.d.ts @@ -1855,7 +1855,9 @@ declare module "@altv/client" { // SHARED resource events export function onResourceStart(callback: GenericEventCallback): altShared.Events.EventHandler; + export function onceResourceStart(callback: GenericEventCallback): altShared.Events.EventHandler; export function onResourceStop(callback: GenericEventCallback): altShared.Events.EventHandler; + export function onceResourceStop(callback: GenericEventCallback): altShared.Events.EventHandler; export function onResourceError(callback: GenericEventCallback): altShared.Events.EventHandler; // Custom events diff --git a/types/client/package.json b/types/client/package.json index dd23873d6..158d7e3fa 100644 --- a/types/client/package.json +++ b/types/client/package.json @@ -1,6 +1,6 @@ { "name": "@altv/client", - "version": "0.0.45", + "version": "0.0.46", "description": "This package contains the type definitions for the alt:V JS module v2 client types", "types": "index.d.ts", "files": [