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"): {
|
||||
hide: () => void
|
||||
cancel: () => void
|
||||
show: () => void
|
||||
}
|
||||
export function getContext(key: "bbui-popover-root"): {
|
||||
show: () => void
|
||||
|
@ -12,7 +13,9 @@ declare module "svelte" {
|
|||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
Modal: "bbui-modal",
|
||||
PopoverRoot: "bbui-popover-root",
|
||||
} as const
|
||||
declare const Context: {
|
||||
readonly Modal: "bbui-modal"
|
||||
readonly PopoverRoot: "bbui-popover-root"
|
||||
}
|
||||
|
||||
export default Context
|
||||
|
|
Loading…
Reference in New Issue