chore: bootstrap typings

This commit is contained in:
Ben Allfree 2022-11-16 11:26:38 -08:00
parent 75151c25c4
commit dccc7c1e71
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,7 @@
import type { Tooltip } from 'bootstrap'
declare global {
interface Window {
bootstrap: { Tooltip: Tooltip }
}
}

View File

@ -14,7 +14,8 @@
"$util/*": ["src/util/*"],
"$components/*": ["src/components/*"],
"$src/*": ["src/*"]
}
},
"types": ["src/global.d.ts"]
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//