mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix build warning
This commit is contained in:
parent
441c9ba8f9
commit
94c8fcdb9c
@ -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,
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user