Typescript types
Closed this issue · 1 comments
lucas-vitrus commented
Typescript support
Hi I'm using typescript, and it requires the @types/three-dxf-loader
lib, which is non-existant. Has anyone being able to use it with Typescript?
Could not find a declaration file for module 'three-dxf-loader'. '/app/node_modules/three-dxf-loader/dist/three-dxf-loader.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/three-dxf-loader` if it exists or add a new declaration (.d.ts) file containing `declare module 'three-dxf-loader';`ts(7016)
lucas-vitrus commented
A simple @ts-ignore
worked.
//@ts-ignore
import { DXFLoader } from "three-dxf-loader";
Closing this issue