tristanisham / logysia

Logysia is a logging library for the Elysia Web Framework for Bun (JS/TS).
MIT License
36 stars 9 forks source link

Types are missing for the newer version of logysia #17

Open vishwa5854 opened 3 months ago

vishwa5854 commented 3 months ago

Since the newer version just ships the dist folder, VSCode's TS language server complains Could not find a declaration file for module '@grotto/logysia'. '/***/node_modules/@grotto/logysia/dist/index.js' implicitly has an 'any' type. Trynpm i --save-dev @types/grotto__logysiaif it exists or add a new declaration (.d.ts) file containingdeclare module '@grotto/logysia';ts(7016)

vishwa5854 commented 3 months ago

I saw that the release package.json has a types tag but the specified file dist/index.d.ts doesn't exist in the release. Please fix it

johnsilver94 commented 2 months ago

I resolved this problem in this PR; There was a simple error caused by tsconfig.json;

iamkoby commented 1 month ago

so... can you approve the PR? @tristanisham