1
Fork 0
holllo-org/source/env.d.ts

24 lines
566 B
TypeScript
Raw Normal View History

2024-01-17 14:19:15 +00:00
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference types="astro/client" />
2022-11-22 13:17:30 +00:00
2024-01-17 14:19:15 +00:00
declare global {
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
2022-11-22 13:17:30 +00:00
interface Window {
"Re-Nav": {
2022-11-22 13:17:30 +00:00
decodeBase64<T>(base64: string): T;
encodeBase64(source: any): string;
share(redirect: Redirect): string;
};
}
type Redirect = {
matcherType: string;
matcherValue: string;
redirectType: string;
redirectValue: string;
};
2022-03-27 21:21:21 +00:00
}
// Make TypeScript see this file as a module.
export {};