Fix build warning

This commit is contained in:
yflory 2024-11-22 14:06:58 +01:00
parent 441c9ba8f9
commit 94c8fcdb9c
2 changed files with 3 additions and 6 deletions

View File

@ -42,6 +42,9 @@ import * as Messenger from './modules/messenger.js';
import * as History from './modules/history.js';
import * as Calendar from './modules/calendar.js';
declare var WorkerGlobalScope: any
declare var SharedWorkerGlobalScope: any
interface StoreConfig {
ApiConfig: any,
AppConfig: any,

View File

@ -2,12 +2,6 @@
// specific methods for each module
type Callback = (...args: any[]) => void
declare module globalThis {
let CryptPad_Messages: any;
let CryptPad_AppConfig: any;
let window: any;
}
export type ModuleConfig = {
emit: Function
}