meshline icon indicating copy to clipboard operation
meshline copied to clipboard

Types incompatible with @types/[email protected]

Open Methuselah96 opened this issue 1 year ago • 0 comments

Using meshline with @types/[email protected] and with skipLibCheck set to false produces the following type error:

node_modules/meshline/dist/MeshLineMaterial.d.ts(39,5): error TS2610: 'alphaTest' is defined as an accessor in class 'ShaderMaterial', but is overridden here in 'MeshLineMaterial' as an instance property.

This is caused by @types/[email protected] correctly updating alphaTest to be a getter/setter in https://github.com/three-types/three-ts-types/pull/856.

Methuselah96 avatar Mar 31 '24 22:03 Methuselah96