Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58bb7bb

Browse files
Chau TranChau Tran
Chau Tran
authored and
Chau Tran
committed
fix: update three types for primitive
1 parent 8af252f commit 58bb7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export type NgtMeshMatcapMaterial = NgtMaterial<THREE.MeshMatcapMaterial, [THREE
166166
export type NgtLineDashedMaterial = NgtMaterial<THREE.LineDashedMaterial, [THREE.LineDashedMaterialParameters]>;
167167
export type NgtLineBasicMaterial = NgtMaterial<THREE.LineBasicMaterial, [THREE.LineBasicMaterialParameters]>;
168168

169-
export type NgtPrimitive = NgtAnyRecord;
169+
export type NgtPrimitive = NgtNodeElement<NgtAnyRecord, any>;
170170
export type NgtValue = NgtNode<{ rawValue: any }, {}>;
171171

172172
export type NgtLightShadow = NgtNode<THREE.LightShadow, typeof THREE.LightShadow>;

0 commit comments

Comments
 (0)