The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/types/global.d.ts

25 lines
601 B

/* eslint-disable @typescript-eslint/interface-name-prefix */
interface Navigator {
/** @deprecated */
readonly userLanguage?: string;
}
interface Window {
setLanguage?: (language: string) => void;
defaultUserLanguage?: () => string;
DISABLE_ANIMATION?: boolean;
lastMessageWindow?: Record<string, unknown>;
lastMessageWindowHistory?: Record<string, unknown>;
favico?: any;
USE_REST_FOR_DDP_CALLS?: boolean;
ECDH_Enabled?: boolean;
__meteor_runtime_config__: {
ROOT_URL_PATH_PREFIX: string;
ROOT_URL: string;
};
}
interface PromiseConstructor {
await<T>(promise: Promise<T>): T;
}