upd (fw):

- moved internal client events from extendable types
This commit is contained in:
2025-01-30 19:03:30 +00:00
parent e29dc20398
commit 7a37aa390e
2 changed files with 14 additions and 7 deletions
+11 -3
View File
@@ -3,10 +3,18 @@ import type { RageFW_ICustomClientEvent } from '@entityseven/rage-fw-shared-type
export type { RageFW_ICustomClientEvent } from '@entityseven/rage-fw-shared-types'
/**
* Union of all available client event names
* These only include custom events and some extras from RageFW
* Union of all internal client event names
* These only include internal events
*/
export type RageFW_ClientEvent = keyof RageFW_ICustomClientEvent
export type RageFW_InternalEvent = 'cefReady'
/**
* Union of all available client event names
* These only include custom events and some internals for RageFW
*/
export type RageFW_ClientEvent =
| keyof RageFW_ICustomClientEvent
| RageFW_InternalEvent
/**
* Array of arguments of event you pass as a generic