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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. self: any;
  20. top: any;
  21. onerror: (event: string, source: any, lineno: any, colno: any, e: Error) => void;
  22. onunhandledrejection: (event: any) => void;
  23. setInterval: typeof setInterval;
  24. clearInterval: typeof clearInterval;
  25. setTimeout: typeof setTimeout;
  26. clearTimeout: typeof clearTimeout;
  27. setImmediate: typeof setImmediate;
  28. clearImmediate: typeof clearImmediate;
  29. addEventListener: Function;
  30. removeEventListener: Function;
  31. }
  32. interface INavigator {
  33. product: string;
  34. }
  35. declare global {
  36. const APP: any;
  37. const document: any;
  38. const interfaceConfig: any;
  39. const navigator: INavigator;
  40. const window: IWindow;
  41. }