You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the components in angular 14.2.0 with typescript 4.7.2 and I cannot build the app.
The error i get is in 2 files:
In file node_modules\openbim-components\src\navigation\PostproductionRenderer\src\postproduction.d.ts
Error: node_modules/openbim-components/src/navigation/PostproductionRenderer/src/postproduction.d.ts:15:39 - error TS2344: Type 'Event<string, unknown>' does not satisfy the constraint 'Object3DEventMap'.
Type 'Event<string, unknown>' is missing the following properties from type 'Object3DEventMap': added, removed
In file node_modules\openbim-components\src\core\SimpleRaycaster\index.d.ts
Error: node_modules/openbim-components/src/core/SimpleRaycaster/index.d.ts:33:216 - error TS2344: Type 'Event<string, unknown>' does not satisfy the constraint 'Object3DEventMap'.
Type 'Event<string, unknown>' is missing the following properties from type 'Object3DEventMap': added, removed
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
Check that this is a concrete bug. For Q&A join our Community.
Describe the bug 📝
I am using the components in angular 14.2.0 with typescript 4.7.2 and I cannot build the app.
The error i get is in 2 files:
Error: node_modules/openbim-components/src/navigation/PostproductionRenderer/src/postproduction.d.ts:15:39 - error TS2344: Type 'Event<string, unknown>' does not satisfy the constraint 'Object3DEventMap'.
Type 'Event<string, unknown>' is missing the following properties from type 'Object3DEventMap': added, removed
15 excludedItems: Set<THREE.Object3D<THREE.Event>>;
Error: node_modules/openbim-components/src/core/SimpleRaycaster/index.d.ts:33:216 - error TS2344: Type 'Event<string, unknown>' does not satisfy the constraint 'Object3DEventMap'.
Type 'Event<string, unknown>' is missing the following properties from type 'Object3DEventMap': added, removed
33 castRayFromVector(origin: THREE.Vector3, direction: THREE.Vector3, items?: THREE.Mesh<THREE.BufferGeometry<THREE.NormalBufferAttributes>, THREE.Material | THREE.Material[]>[]): THREE.Intersection<THREE.Object3D<THREE.Event>> | null;
Reproduction▶️
No response
Steps to reproduce 🔢
No response
System Info 💻
System: OS: Windows 11 10.0.22621 CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11600K @ 3.90GHz Memory: 18.18 GB / 31.89 GB Browsers: Edge: Chromium (120.0.2210.144) Internet Explorer: 11.0.22621.1 npmPackages: openbim-components: ^1.3.1 => 1.3.1
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅
The text was updated successfully, but these errors were encountered: