global.d.ts 358 B

12345678910111213
  1. interface HTMLElement {
  2. webkitRequestFullScreen(options?: FullscreenOptions): Promise<void>;
  3. mozRequestFullScreen(options?: FullscreenOptions): Promise<void>;
  4. }
  5. interface Document {
  6. mozFullScreen: boolean;
  7. webkitIsFullScreen: boolean;
  8. webkitFullScreen: boolean;
  9. mozCancelFullScreen(): Promise<void>;
  10. webkitCancelFullScreen(): Promise<void>;
  11. }