V2.51.0-pre Three errors

sry, i’ll correct myself here

by user 474974683163394049

the three object types are still here, but e.g. the add method is type any now

by user 474974683163394049

image.png

by user 474974683163394049

makes sense, as without types there is nothing to get the types from, right? :sweat_smile:

by user 474974683163394049

Sure.

With 2.52.0-pre am getting this again after skiplibcheck - ```
Argument of type ‘THREE.Vector3’ is not assignable to parameter of type ‘import(“C:/Unity_Projects/NeedleWebDemos/projects/p/node_modules/@types/three/src/math/Vector3”).Vector3’.


*by user 103054507105067008*

Having to roll back to 2.50.0-pre just to deploy builds today

by user 103054507105067008

Assigneable to where?

I assume it is related to three types package version

by user 103054507105067008

Do you see the error in vscode? You can usually suppress type errors using @ts-ignore. Ideally report it to us or them or make a PR on their repo (its what Ive done a couple times now)

Shouldnt be necessary to downgrade the engine :thinking:

There are a load more errors, will send a screengrab

by user 103054507105067008

Ok good

Sent over DM

by user 103054507105067008

thanks

Is there a proper solution to this besides removing the types package?

by user 827095900392259645

You can add skipLibCheck to the tsconfig as a workaround (which types version are you using?) Discord

Ive made a bunch of PRs for the errors in types but i dont think they are live yet