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

Could not find a declaration file for module 'framework7-icons/vue' #43

Open
riderx opened this issue Aug 28, 2022 · 1 comment
Open

Comments

@riderx
Copy link

riderx commented Aug 28, 2022

When using TS in vue i got this issue:
CleanShot 2022-08-28 at 11 44 15@2x
CleanShot 2022-08-28 at 11 44 33@2x

@peitschie
Copy link

As a stopgap for this, I've added a framework7-icons.d.ts TypeScript declaration file with content like the following:

declare module "framework7-icons/vue" {
  const ShiftFill: unknown;
  const RocketFill: unknown;
}

This clears up the warning for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants