1- import { computed , effect , ElementRef , Injector , isSignal , signal , untracked } from '@angular/core' ;
1+ import { computed , effect , ElementRef , Injector , isSignal , Signal , signal , untracked } from '@angular/core' ;
22import { injectBeforeRender , resolveRef } from 'angular-three' ;
33import { assertInjector } from 'ngxtension/assert-injector' ;
44import { AnimationAction , AnimationClip , AnimationMixer , Object3D } from 'three' ;
@@ -7,11 +7,12 @@ import { AnimationAction, AnimationClip, AnimationMixer, Object3D } from 'three'
77 * name: any to allow consumers to pass in type-safe animation clips
88 */
99type NgtsAnimationClipWithoutName = Omit < AnimationClip , 'name' > & { name : any } ;
10- type NgtsAnimationClip = Omit < NgtsAnimationClipWithoutName , 'clone' > & { clone : ( ) => NgtsAnimationClip } ;
11- type NgtsAnimationClips < TAnimationNames extends string > = {
10+ export type NgtsAnimationClip = Omit < NgtsAnimationClipWithoutName , 'clone' > & { clone : ( ) => NgtsAnimationClip } ;
11+ export type NgtsAnimationClips < TAnimationNames extends string > = {
1212 [ Name in TAnimationNames ] : Omit < NgtsAnimationClip , 'name' > & { name : Name } ;
1313} [ TAnimationNames ] ;
14- type NgtsAnimationApi < T extends NgtsAnimationClip > = {
14+ export type NgtsAnimationApi < T extends NgtsAnimationClip > = {
15+ ready : Signal < boolean > ;
1516 clips : T [ ] ;
1617 mixer : AnimationMixer ;
1718 names : T [ 'name' ] [ ] ;
0 commit comments