You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Component
Themes (like @blocky/theme-dark)
Description
There is no index.d.ts in module so we can't import it with Typescript (or we need to use //@ts-ignore)
Reproduction steps
Prepare a typescript project
Install the package named "@blockly/theme-dark"
Stack trace
[tsl] ERROR in C:\Users\user\Desktop\blocksk-typescript\src\index.ts(8,23)
TS7016: Could not find a declaration file for module '@blockly/theme-dark'. 'C:\Users\esteb\Desktop\blocksk-typescript\node_modules\@blockly\theme-dark\dist\index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/blockly__theme-dark`if it exists or add a new declaration (.d.ts) file containing `declare module '@blockly/theme-dark';`
Screenshots
The text was updated successfully, but these errors were encountered:
Hello, we've recently converted some of the plugins to TypeScript, but not all of them have been migrated. The themes should be pretty straightforward to migrate if you'd like to contribute a patch. You can copy a tsconfig out of any of the other plugins. Otherwise, this is in our backlog but we are not able to prioritize it in the coming quarter. Thanks!
Check for duplicates
Component
Themes (like @blocky/theme-dark)
Description
There is no index.d.ts in module so we can't import it with Typescript (or we need to use //@ts-ignore)
Reproduction steps
Stack trace
Screenshots
The text was updated successfully, but these errors were encountered: