2024-07-07 23:32:30 +08:00
|
|
|
declare module '*.svg' {
|
|
|
|
const value: string;
|
|
|
|
export default value;
|
|
|
|
}
|
2024-07-11 18:20:51 +08:00
|
|
|
|
|
|
|
declare let __webpack_public_path__: string;
|
|
|
|
|
|
|
|
interface Window {
|
|
|
|
config: import('./web_src/js/types.ts').Config;
|
|
|
|
$: typeof import('@types/jquery'),
|
|
|
|
jQuery: typeof import('@types/jquery'),
|
|
|
|
htmx: typeof import('htmx.org'),
|
2024-07-26 07:31:24 +08:00
|
|
|
_globalHandlerErrors: Array<ErrorEvent & PromiseRejectionEvent> & {
|
|
|
|
_inited: boolean,
|
|
|
|
push: (e: ErrorEvent & PromiseRejectionEvent) => void | number,
|
|
|
|
},
|
2024-07-11 18:20:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'htmx.org/dist/htmx.esm.js' {
|
|
|
|
const value = await import('htmx.org');
|
|
|
|
export default value;
|
|
|
|
}
|