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

Fix for projects using TS-option "noUncheckedIndexedAccess"

Open SimonSimCity opened this issue 2 years ago • 0 comments

When installing this plugin in a project which has the TS-option noUncheckedIndexedAccess enabled, it will fail. This PR fixes this.

It also updates some packages (all in compliance with the existing package.json definition) to allow me to run eslint.

When an icon is not found, an error is thrown instead of simply writing it out on the console. This is more in line with vue's error handling.

SimonSimCity avatar Apr 25 '23 13:04 SimonSimCity