fix: preload compile needs correct type extension on window

This commit is contained in:
linonetwo
2023-02-08 10:23:52 +08:00
parent dc72b2ea11
commit b1943aaad9
+9
View File
@@ -16,3 +16,12 @@ function setEnvironmentVariables() {
}
setEnvironmentVariables();
declare global {
interface Window {
CLIENT_APP?: boolean;
__editoVersion?: string;
}
}
export {};