`AlertCustomOptions` doesn't work properly
Opened this issue · 1 comments
Byloth commented
Make it work!
Byloth commented
import type { IconDefinition } from "@fortawesome/free-brands-svg-icons";
declare module "@byloth/vuert"
{
interface AlertCustomOptions
{
icon?: IconDefinition;
}
}
The previous definition doesn't work correctly.
It ends up breaking 2 different things:
- The
icon
key is now defined asstring & IconDefinition
which makes using both thestring
orIconDefinition
types impractical. - Any other symbols exported from
@byloth/vuert
end up not being exported at all; the only valid key exported is actually theAlertCustomOptions
interface.
Solve these problems.