./../node_modules/.pnpm/three-stdlib@2.36.1_three@0.185.0/node_modules/three-stdlib/loaders/SVGLoader.d.ts:3:18 - error TS2430: Interface 'SVGResultPaths' incorrectly extends interface 'ShapePath'.
Types of property 'userData' are incompatible.
Type '{ [key: string]: any; } | undefined' is not assignable to type 'Record<string, unknown>'.
Type 'undefined' is not assignable to type 'Record<string, unknown>'.
3 export interface SVGResultPaths extends ShapePath {
~~~~~~~~~~~~~~
../../node_modules/.pnpm/three-stdlib@2.36.1_three@0.185.0/node_modules/three-stdlib/loaders/TGALoader.d.ts:13:3 - error TS2416: Property 'parse' in type 'TGALoader' is not assignable to the same property in base type 'DataTextureLoader'.
Type '(data: ArrayBuffer) => DataTexture' is not assignable to type '(buffer: ArrayBuffer) => DataTextureLoaderTexData'.
Call signature return types 'DataTexture' and 'DataTextureLoaderTexData' are incompatible.
The types of 'format' are incompatible between these types.
Type 'AnyPixelFormat' is not assignable to type 'PixelFormat | undefined'.
Type '33776' is not assignable to type 'PixelFormat | undefined'.
13 parse(data: ArrayBuffer): DataTexture
~~~~~
Found 2 errors in 2 files.
Errors Files
1 ../../node_modules/.pnpm/three-stdlib@2.36.1_three@0.185.0/node_modules/three-stdlib/loaders/SVGLoader.d.ts:3
1 ../../node_modules/.pnpm/three-stdlib@2.36.1_three@0.185.0/node_modules/three-stdlib/loaders/TGALoader.d.ts:13
threeversion: 0.185.0@types/threeversion: 0.185.0three-stdlibversion: 2.36.1Problem description:
The current type definitions are incompatible with
@types/three@0.185.0and produce the following errors:Relevant code:
N/A
Suggested solution:
#433