more type fix
This commit is contained in:
parent
495a452122
commit
e637a86a2b
|
@ -2,6 +2,7 @@ declare module "svelte" {
|
||||||
export function getContext(key: "bbui-modal"): {
|
export function getContext(key: "bbui-modal"): {
|
||||||
hide: () => void
|
hide: () => void
|
||||||
cancel: () => void
|
cancel: () => void
|
||||||
|
show: () => void
|
||||||
}
|
}
|
||||||
export function getContext(key: "bbui-popover-root"): {
|
export function getContext(key: "bbui-popover-root"): {
|
||||||
show: () => void
|
show: () => void
|
||||||
|
@ -12,7 +13,9 @@ declare module "svelte" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
declare const Context: {
|
||||||
Modal: "bbui-modal",
|
readonly Modal: "bbui-modal"
|
||||||
PopoverRoot: "bbui-popover-root",
|
readonly PopoverRoot: "bbui-popover-root"
|
||||||
} as const
|
}
|
||||||
|
|
||||||
|
export default Context
|
||||||
|
|
Loading…
Reference in New Issue