mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: basic app menu (#1207)
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
__TAURI_ISOLATION_HOOK_: (payload: any) => any;
|
||||
}
|
||||
}
|
||||
|
||||
// tauri preload script can't have `export {}`
|
||||
// @ts-ignore 'index.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.ts(1208)
|
||||
window.__TAURI_ISOLATION_HOOK__ = payload => {
|
||||
@@ -20,5 +14,3 @@ function setEnvironmentVariables() {
|
||||
}
|
||||
|
||||
setEnvironmentVariables();
|
||||
|
||||
export {};
|
||||
|
||||
@@ -4,6 +4,7 @@ declare global {
|
||||
|
||||
interface Window {
|
||||
CLIENT_APP?: boolean;
|
||||
__TAURI_ISOLATION_HOOK_: (payload: any) => any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user