framework7-icons icon indicating copy to clipboard operation
framework7-icons copied to clipboard

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

Open riderx opened this issue 3 years ago • 1 comments

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

riderx avatar Aug 28 '22 10:08 riderx

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!

peitschie avatar Sep 19 '22 06:09 peitschie