fix(types): prefix icon type with "typeof"

This commit is contained in:
Eric Liu 2020-11-19 10:41:15 -08:00
commit 7a1480f0ed
16 changed files with 64 additions and 49 deletions

View file

@ -5,7 +5,7 @@ export interface IconProps {
* Specify the icon from `carbon-icons-svelte` to render
* Icon size must be 16px (e.g. `Add16`, `Task16`)
*/
render?: import("carbon-icons-svelte").CarbonIcon;
render?: typeof import("carbon-icons-svelte").CarbonIcon;
/**
* Set to `true` to display the skeleton state