Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 0.4.0 is missing types #124

Closed
mat813 opened this issue Sep 10, 2024 · 0 comments · Fixed by #125
Closed

version 0.4.0 is missing types #124

mat813 opened this issue Sep 10, 2024 · 0 comments · Fixed by #125
Labels
bug Something isn't working

Comments

@mat813
Copy link

mat813 commented Sep 10, 2024

The package.json still has "typings": "types/index.d.ts", but that file is not in the npm package, which leads to errors like this:

$ tsc                    
src/index.ts:1:52 - error TS7016: Could not find a declaration file for module '@oruga-ui/theme-bulma'. '/home/marnold/work/commun/bulma-ovea/node_modules/@oruga-ui/theme-bulma/dist/bulma.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/oruga-ui__theme-bulma` if it exists or add a new declaration (.d.ts) file containing `declare module '@oruga-ui/theme-bulma';`

1 import { bulmaConfig as originalBulmaConfig } from '@oruga-ui/theme-bulma';
                                                     ~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in src/index.ts:1
@mlmoravek mlmoravek added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants