Skip to content

typescript: Could not find a declaration file for module '@papanasi/qwik'. 'stackblitz:/node_modules/@papanasi/qwik/lib/index.qwik.mjs' implicitly has an 'any' type #78

@bbigras

Description

@bbigras

Describe the bug

Could not find a declaration file for module '@papanasi/qwik'. 'stackblitz:/node_modules/@papanasi/qwik/lib/index.qwik.mjs' implicitly has an 'any' type.
  Try `npm i --save-dev @types/papanasi__qwik` if it exists or add a new declaration (.d.ts) file containing `declare module '@papanasi/qwik';`

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/qwik-starter-9feq6m?file=src/routes/index.tsx
  2. check the warning on the Button import

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions