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

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