mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 07:36:42 +08:00
fix: preload compile needs correct type extension on window
This commit is contained in:
@@ -16,3 +16,12 @@ function setEnvironmentVariables() {
|
||||
}
|
||||
|
||||
setEnvironmentVariables();
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
CLIENT_APP?: boolean;
|
||||
__editoVersion?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user