Skip to content

Commit c0197de

Browse files
committed
fix(core): adjust after attach type
1 parent e64eccf commit c0197de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/core/src/lib/three-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export type ThreeChildAddedEvent = { type: 'childadded'; target: any; child: any
5858
export type ThreeChildRemovedEvent = { type: 'childremoved'; target: any; child: any };
5959

6060
export interface NgtNodeEventMap<TInstance = NgtAnyRecord> {
61-
attached: NgtAfterAttach<any, TInstance>;
61+
attached: NgtAfterAttach<TInstance, any>;
6262
updated: TInstance;
6363
// NOTE: this is named "disposed" to differentiate it from [dispose] property.
6464
disposed: ThreeDisposeEvent;

0 commit comments

Comments
 (0)