dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

Do not emit declaration files #177

Open tgdn opened 2 months ago

tgdn commented 2 months ago

Declaration files are generated automatically and override the root declaration file index.d.ts which breaks TypeScript support as discussed in #178.

Generated declaration file: image

Result when importing the library in an ESM project: image

Disabling declaration files should let TypeScript rely on the root index.d.ts declarations that are up to date.