@citizenfx/client 2.0.5236-1 → 2.0.5247-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 +26 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -131,3 +131,29 @@ declare var LocalPlayer : EntityInterface
131
131
  declare var exports: any;
132
132
 
133
133
  declare var source: number;
134
+
135
+ // Commented methods are not implemented yet
136
+ interface Console {
137
+ assert(condition?: boolean, ...data: any[]): void;
138
+ // clear(): void;
139
+ count(label?: string): void;
140
+ countReset(label?: string): void;
141
+ debug(...data: any[]): void;
142
+ dir(item?: any, options?: any): void;
143
+ // dirxml(...data: any[]): void;
144
+ error(...data: any[]): void;
145
+ // group(...data: any[]): void;
146
+ // groupCollapsed(...data: any[]): void;
147
+ // groupEnd(): void;
148
+ info(...data: any[]): void;
149
+ log(...data: any[]): void;
150
+ // table(tabularData?: any, properties?: string[]): void;
151
+ time(label?: string): void;
152
+ timeEnd(label?: string): void;
153
+ // timeLog(label?: string, ...data: any[]): void;
154
+ // timeStamp(label?: string): void;
155
+ trace(...data: any[]): void;
156
+ warn(...data: any[]): void;
157
+ }
158
+
159
+ declare var console: Console;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.5236-1",
3
+ "version": "2.0.5247-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {