@citizenfx/client 2.0.6333-1 → 2.0.6335-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +8 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -128,7 +128,14 @@ declare var GlobalState : StateBagInterface
128
128
  declare function Player(entity: number|string): EntityInterface
129
129
  declare var LocalPlayer : EntityInterface
130
130
 
131
- declare var exports: any;
131
+ interface CitizenExports {
132
+ (exportKey: string | number, exportFunction: Function): void;
133
+ [resourceName: string] : {
134
+ [exportKey: string | number]: Function
135
+ };
136
+ }
137
+
138
+ declare var exports: CitizenExports;
132
139
 
133
140
  declare var source: number;
134
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.6333-1",
3
+ "version": "2.0.6335-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {