nartc / angular-three

🧊 THREE.js integration for Angular 🧊
https://angular-three.netlify.app/
MIT License
306 stars 26 forks source link

getting error in angular-three, is only imported `NgtCanvasModule` #122

Closed sohail-ansari02 closed 2 years ago

sohail-ansari02 commented 2 years ago

getting this error: ERROR in node_modules/@angular-three/core/lib/types.d.ts:16:64 - error TS1005: ';' expected.

16 export declare type AnyAbstractConstructor = abstract new (...args: any[]) => TObject;

node_modules/@angular-three/core/lib/types.d.ts:16:69 - error TS1109: Expression expected.

16 export declare type AnyAbstractConstructor<TObject> = abstract new (...args: any[]) => TObject;

node_modules/@angular-three/core/lib/types.d.ts:16:82 - error TS1011: An element access expression should take an argument.

16 export declare type AnyAbstractConstructor = abstract new (...args: any[]) => TObject;

node_modules/@angular-three/core/lib/types.d.ts:16:83 - error TS1005: ';' expected.

16 export declare type AnyAbstractConstructor = abstract new (...args: any[]) => TObject; ~ node_modules/@angular-three/core/lib/types.d.ts:16:85 - error TS1128: Declaration or statement expected.

16 export declare type AnyAbstractConstructor = abstract new (...args: any[]) => TObject;

IRobot1 commented 2 years ago

Did you follow installation instructions?

nartc commented 2 years ago

thanks @IRobot1 I'll update that to 0.140 asap