@ts-defold/types 1.2.70 → 1.2.71

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 +3 -55
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /// <reference types="lua-types/5.1" />
3
3
  /// <reference types="@typescript-to-lua/language-extensions" />
4
4
 
5
- // DEFOLD. stable version 1.10.2 (7a0e23b3fcab4c5db82f2b32f5d8ac5df9467c9d)
5
+ // DEFOLD. stable version 1.10.3 (1c76521bb8b08c63ef619aa8a5ab563dddf7b3cf)
6
6
  // =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= //
7
7
 
8
8
 
@@ -74,70 +74,18 @@ declare namespace vmath {
74
74
 
75
75
  declare namespace liveupdate {
76
76
 
77
- /**
78
- * LIVEUPDATE_BUNDLED_RESOURCE_MISMATCH
79
- */
80
- export let LIVEUPDATE_BUNDLED_RESOURCE_MISMATCH: any
81
77
 
82
- /**
83
- * LIVEUPDATE_ENGINE_VERSION_MISMATCH
84
- */
85
- export let LIVEUPDATE_ENGINE_VERSION_MISMATCH: any
86
78
 
87
- /**
88
- * LIVEUPDATE_FORMAT_ERROR
89
- */
90
- export let LIVEUPDATE_FORMAT_ERROR: any
91
79
 
92
- /**
93
- * LIVEUPDATE_INVAL
94
- */
95
- export let LIVEUPDATE_INVAL: any
96
80
 
97
- /**
98
- * LIVEUPDATE_INVALID_HEADER
99
- */
100
- export let LIVEUPDATE_INVALID_HEADER: any
101
81
 
102
- /**
103
- * LIVEUPDATE_INVALID_RESOURCE
104
- */
105
- export let LIVEUPDATE_INVALID_RESOURCE: any
106
82
 
107
- /**
108
- * LIVEUPDATE_IO_ERROR
109
- */
110
- export let LIVEUPDATE_IO_ERROR: any
111
83
 
112
- /**
113
- * LIVEUPDATE_MEM_ERROR
114
- */
115
- export let LIVEUPDATE_MEM_ERROR: any
116
84
 
117
- /**
118
- * LIVEUPDATE_OK
119
- */
120
- export let LIVEUPDATE_OK: any
121
85
 
122
- /**
123
- * LIVEUPDATE_SCHEME_MISMATCH
124
- */
125
- export let LIVEUPDATE_SCHEME_MISMATCH: any
126
86
 
127
- /**
128
- * LIVEUPDATE_SIGNATURE_MISMATCH
129
- */
130
- export let LIVEUPDATE_SIGNATURE_MISMATCH: any
131
87
 
132
- /**
133
- * LIVEUPDATE_UNKNOWN
134
- */
135
- export let LIVEUPDATE_UNKNOWN: any
136
88
 
137
- /**
138
- * LIVEUPDATE_VERSION_MISMATCH
139
- */
140
- export let LIVEUPDATE_VERSION_MISMATCH: any
141
89
 
142
90
  /**
143
91
  * Adds a resource mount to the resource system.
@@ -149,7 +97,7 @@ declare namespace liveupdate {
149
97
  * @param callback Callback after the asynchronous request completed
150
98
  * @return result The result of the request
151
99
  */
152
- export function add_mount(name: string, uri: string, priority: any, callback: any): number
100
+ export function add_mount(name: string, uri: string, priority: number, callback: any): number
153
101
 
154
102
  /**
155
103
  * Return a reference to the Manifest that is currently loaded.
@@ -169,7 +117,7 @@ declare namespace liveupdate {
169
117
  * This can be used to determine if a new manifest or zip file should be downloaded.
170
118
  * @return bool true if a liveupdate archive (any format) has been loaded
171
119
  */
172
- export function is_using_liveupdate_data(): any
120
+ export function is_using_liveupdate_data(): boolean
173
121
 
174
122
  /**
175
123
  * Remove a mount the resource system.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-defold/types",
3
- "version": "1.2.70",
3
+ "version": "1.2.71",
4
4
  "description": "TypeScript definitions for Defold",
5
5
  "repository": "github:ts-defold/types",
6
6
  "keywords": [