@nativewrappers/fivem 0.0.34 → 0.0.35

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.
@@ -9,7 +9,7 @@ export declare class TaskSequence {
9
9
  dispose(): void;
10
10
  close(repeat?: boolean): void;
11
11
  get Handle(): number;
12
- get AddTask(): Tasks | null | undefined;
12
+ get AddTask(): Tasks;
13
13
  get IsClosed(): boolean;
14
14
  get Count(): number;
15
15
  }
@@ -33,7 +33,7 @@ export class TaskSequence {
33
33
  throw new Error("You can't add tasks to a closed sequence!");
34
34
  }
35
35
  this.count += 1;
36
- return TaskSequence.nullPed?.Task;
36
+ return TaskSequence.nullPed.Task;
37
37
  }
38
38
  get IsClosed() {
39
39
  return this.isClosed;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Remco Troost <d0p3t>",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "version": "0.0.34",
7
+ "version": "0.0.35",
8
8
  "publishConfig": {
9
9
  "directory": "lib"
10
10
  },