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
KTX2Loader does not have a parse method. but the types says that it does.
This causes an issue when trying to use drei along side ThreeJS natively when using the KTX2 loader.
Argument of type 'import("/node_modules/@types/three/examples/jsm/loaders/KTX2Loader").
KTX2Loader' is not assignable to parameter of type 'import("//node_modules/three-stdlib/loaders/KTX2Loader").KTX2Loader'.
Property 'parse' is missing in type 'import("/node_modules/@types/three/examples/jsm/loaders/KTX2Loader").KTX2Loader'
but required in type 'import("x/node_modules/three-stdlib/loaders/KTX2Loader").KTX2Loader'.ts(2345)
KTX2Loader.d.ts(11, 3): 'parse' is declared here.
It seems simply updating the type def to remove parse would be the correct course of action.
Unless I am missing something.
The text was updated successfully, but these errors were encountered:
three-stdlib/src/loaders/KTX2Loader.d.ts
Line 11 in da07863
KTX2Loader does not have a
parse
method. but the types says that it does.This causes an issue when trying to use drei along side ThreeJS natively when using the KTX2 loader.
It seems simply updating the type def to remove parse would be the correct course of action.
Unless I am missing something.
The text was updated successfully, but these errors were encountered: