18 lines
338 B
TypeScript
18 lines
338 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_DEBUG_MODE?: string;
|
|
}
|
|
|
|
interface Window {
|
|
wx?: {
|
|
miniProgram?: {
|
|
navigateTo?: (options: {
|
|
url: string;
|
|
fail?: (error: { errMsg?: string }) => void;
|
|
}) => void;
|
|
postMessage?: (message: unknown) => void;
|
|
};
|
|
};
|
|
}
|