Ver Fonte

Merge pull request #17877 from RazorDE/three-js-invalid-import

Removed invalid Animation reference from Three.d.ts
Mr.doob há 6 anos atrás
pai
commit
8604fc32c6
2 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 1
      examples/jsm/misc/MorphAnimMesh.d.ts
  2. 0 1
      src/Three.d.ts

+ 1 - 1
examples/jsm/misc/MorphAnimMesh.d.ts

@@ -1,5 +1,5 @@
+import { AnimationAction } from '../../../src/animation/AnimationAction'
 import {
 import {
-	AnimationAction,
 	AnimationMixer,
 	AnimationMixer,
 	BufferGeometry,
 	BufferGeometry,
 	Geometry,
 	Geometry,

+ 0 - 1
src/Three.d.ts

@@ -86,7 +86,6 @@ export * from './animation/AnimationUtils';
 export * from './animation/AnimationObjectGroup';
 export * from './animation/AnimationObjectGroup';
 export * from './animation/AnimationMixer';
 export * from './animation/AnimationMixer';
 export * from './animation/AnimationClip';
 export * from './animation/AnimationClip';
-export * from './animation/AnimationAction';
 export * from './core/Uniform';
 export * from './core/Uniform';
 export * from './core/InstancedBufferGeometry';
 export * from './core/InstancedBufferGeometry';
 export * from './core/BufferGeometry';
 export * from './core/BufferGeometry';

粤ICP备19079148号