@threlte/gltf 1.0.0-next.11 → 1.0.0-next.12

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @threlte/gltf
2
2
 
3
+ ## 1.0.0-next.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 6d56d11c: Added proper types for new slots error & fallback
8
+
3
9
  ## 1.0.0-next.11
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threlte/gltf",
3
- "version": "1.0.0-next.11",
3
+ "version": "1.0.0-next.12",
4
4
  "description": "GLTF to Threlte converter",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -535,7 +535,11 @@ ${
535
535
 
536
536
  ${options.types && !options.isolated ? 'type $$Props = Props<THREE.Group>' : ''}
537
537
  ${options.types && !options.isolated ? 'type $$Events = Events<THREE.Group>' : ''}
538
- ${options.types && !options.isolated ? 'type $$Slots = Slots<THREE.Group>' : ''}
538
+ ${
539
+ options.types && !options.isolated
540
+ ? 'type $$Slots = Slots<THREE.Group> & { fallback: {}; error: { error: any } }'
541
+ : ''
542
+ }
539
543
 
540
544
  export const ref = new Group()
541
545