Move __bookingFlowCountdownInterval from inline declare global in BookingFlow.svelte to global app.d.ts. Fix authHeaders type from {} to undefined to satisfy TypeScript.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
22 lines
602 B
TypeScript
22 lines
602 B
TypeScript
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
// for information about these interfaces
|
|
declare global {
|
|
namespace App {
|
|
// interface Error {}
|
|
// interface Locals {}
|
|
// interface PageData {}
|
|
// interface PageState {}
|
|
// interface Platform {}
|
|
}
|
|
|
|
interface Window {
|
|
__walkInCountdownInterval?: ReturnType<typeof setInterval>;
|
|
__walkInModalCountdownInterval?: ReturnType<typeof setInterval>;
|
|
__bookingCreateCountdownInterval?: ReturnType<typeof setInterval>;
|
|
__bookingFlowCountdownInterval?: ReturnType<typeof setInterval> | null;
|
|
}
|
|
}
|
|
|
|
export {};
|
|
declare module 'swiper/svelte';
|