mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 22:26:45 +00:00
chore: bootstrap typings
This commit is contained in:
parent
75151c25c4
commit
dccc7c1e71
7
packages/pockethost.io/src/global.d.ts
vendored
Normal file
7
packages/pockethost.io/src/global.d.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import type { Tooltip } from 'bootstrap'
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface Window {
|
||||||
|
bootstrap: { Tooltip: Tooltip }
|
||||||
|
}
|
||||||
|
}
|
@ -14,7 +14,8 @@
|
|||||||
"$util/*": ["src/util/*"],
|
"$util/*": ["src/util/*"],
|
||||||
"$components/*": ["src/components/*"],
|
"$components/*": ["src/components/*"],
|
||||||
"$src/*": ["src/*"]
|
"$src/*": ["src/*"]
|
||||||
}
|
},
|
||||||
|
"types": ["src/global.d.ts"]
|
||||||
}
|
}
|
||||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user