[DiscordArchive] what's the error?
[DiscordArchive] what's the error?
Archived author: Aspect • Posted: 2022-12-09T11:10:42.240000+00:00
Original source
Declaration file for module 'js-sha1' not found. 'p:/server/node_modules/js-sha1/src/sha1.js' implicitly has an 'any' type.
Try 'npm i --save-dev @types/js-sha1' if it exists, or add a new declaration file (.d.ts) containing 'declare module 'js-sha1';'
Archived author: Aspect • Posted: 2022-12-09T11:10:51.457000+00:00
Original source
Visual studio code
Archived author: Roboto • Posted: 2022-12-09T11:11:04.756000+00:00
Original source
same, maybe something to do with your TypeScript configuration
Archived author: Aspect • Posted: 2022-12-09T11:11:26.648000+00:00
Original source
i have the same error of you
Archived author: Aspect • Posted: 2022-12-09T11:11:34.129000+00:00
Original source
and i have @ts-ignore
![[Image: image.png?ex=690bd9f9&is=690a8879&hm=96e...4061cba79&]](https://cdn.discordapp.com/attachments/284323424032129024/1050731776684855306/image.png?ex=690bd9f9&is=690a8879&hm=96e37507b3ea9baf648f34871973ed35ced89e1b6ba3963695351014061cba79&)
Archived author: Aspect • Posted: 2022-12-09T11:12:57.281000+00:00
Original source
![[Image: image.png?ex=690bd9f9&is=690a8879&hm=96e...4061cba79&]](https://cdn.discordapp.com/attachments/284323424032129024/1050731776684855306/image.png?ex=690bd9f9&is=690a8879&hm=96e37507b3ea9baf648f34871973ed35ced89e1b6ba3963695351014061cba79&)
Archived author: Aspect • Posted: 2022-12-09T11:13:00.708000+00:00
Original source
its my ts-config
![[Image: image.png?ex=690bda32&is=690a88b2&hm=830...3f0fb9ed4&]](https://cdn.discordapp.com/attachments/284323424032129024/1050732017093967932/image.png?ex=690bda32&is=690a88b2&hm=830058b91d9c7118d039a50976146f1b845c5e3dd585a9537a40e7a3f0fb9ed4&)
Archived author: Roboto • Posted: 2022-12-09T11:13:54.609000+00:00
Original source
As I said it doesn't show as an error for me, only an informative message. Builds fine too
![[Image: image.png?ex=690bda32&is=690a88b2&hm=830...3f0fb9ed4&]](https://cdn.discordapp.com/attachments/284323424032129024/1050732017093967932/image.png?ex=690bda32&is=690a88b2&hm=830058b91d9c7118d039a50976146f1b845c5e3dd585a9537a40e7a3f0fb9ed4&)
Archived author: Roboto • Posted: 2022-12-09T11:14:14.389000+00:00
Original source
Maybe disable strict mode?
Archived author: Aspect • Posted: 2022-12-09T11:37:02.148000+00:00
Original source
<@175631911450836993> Thanks u its working now