@ts-defold/types 1.2.7 → 1.2.8

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 -3
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -747,7 +747,7 @@ index into array property (1 based)
747
747
  name of internal property
748
748
  * @return value the value of the specified property
749
749
  */
750
- export function get(url: string | hash | url, property: string | hash, options: any): any
750
+ export function get(url: string | hash | url, property: string | hash, options?: any): any
751
751
 
752
752
  /**
753
753
  * Returns or constructs an instance identifier. The instance id is a hash
@@ -855,7 +855,7 @@ name of internal property
855
855
  index into array property (1 based)
856
856
  name of internal property
857
857
  */
858
- export function set(url: string | hash | url, property: string | hash, value: any, options: any): void
858
+ export function set(url: string | hash | url, property: string | hash, value: any, options?: any): void
859
859
 
860
860
  /**
861
861
  * Sets the parent for a game object instance. This means that the instance will exist in the geometrical space of its parent,
@@ -2349,7 +2349,7 @@ The rate with which the animation will be played. Must be positive
2349
2349
  * @param parent parent node to set
2350
2350
  * @param keep_scene_transform optional flag to make the scene position being perserved
2351
2351
  */
2352
- export function set_parent(node: node, parent: node, keep_scene_transform: boolean): void
2352
+ export function set_parent(node: node, parent: node, keep_scene_transform?: boolean): void
2353
2353
 
2354
2354
  /**
2355
2355
  * Set the paricle fx for a gui node
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-defold/types",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "TypeScript definitions for Defold",
5
5
  "repository": "github:ts-defold/types",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  "lua-types": "^2.10.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@ts-defold/type-gen": "^0.5.0",
30
+ "@ts-defold/type-gen": "^0.5.2",
31
31
  "typescript": "4.3.4",
32
32
  "typescript-to-lua": "^1.0.1"
33
33
  },