coderaiser / smalltalk

Promise-based Alert, Confirm and Prompt replacement
MIT License
91 stars 20 forks source link

I have the following issue with introducing smalltalk in my Electron project #34

Open Tandent-zz opened 1 week ago

Tandent-zz commented 1 week ago

Here's the error message that prompts: Unable to find the declaration file for module "smalltalk". "d:/Scripts/Encapsulationcode/bgxxzsRunlocally/node_modules/smalltalk/lib/smalltalk.js" implicitly has an "any" type. Try using 'npm i --save-dev @types/smalltalk' (if it exists), or add one that contains 'declare module 'smalltalk'; New Statement (.d.ts) File TS(7016)

coderaiser commented 1 week ago

Looks like it is related to TypeScript, feel free to add types