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.

globals.native.d.ts 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { IConfig } from "./react/features/base/config/configType";
  2. export {};
  3. interface ILocation extends URL {
  4. assign(url: string);
  5. replace(url: string);
  6. reload();
  7. };
  8. interface IWindow {
  9. JITSI_MEET_LITE_SDK: boolean;
  10. JitsiMeetJS: any;
  11. config: IConfig;
  12. document: any;
  13. innerHeight: number;
  14. innerWidth: number;
  15. interfaceConfig: any;
  16. location: ILocation;
  17. PressureObserver?: any;
  18. PressureRecord?: any;
  19. ReactNativeWebView?: any;
  20. TextDecoder?: any;
  21. TextEncoder?: any;
  22. self: any;
  23. top: any;
  24. onerror: (event: string, source: any, lineno: any, colno: any, e: Error) => void;
  25. onunhandledrejection: (event: any) => void;
  26. setInterval: typeof setInterval;
  27. clearInterval: typeof clearInterval;
  28. setTimeout: typeof setTimeout;
  29. clearTimeout: typeof clearTimeout;
  30. setImmediate: typeof setImmediate;
  31. clearImmediate: typeof clearImmediate;
  32. addEventListener: Function;
  33. removeEventListener: Function;
  34. }
  35. interface INavigator {
  36. product: string;
  37. userAgent: string;
  38. }
  39. declare global {
  40. const APP: any;
  41. const document: any;
  42. const interfaceConfig: any;
  43. const navigator: INavigator;
  44. const window: IWindow;
  45. }