WindowLike: { addEventListener: ( type: string, listener: (event: any) => any, options?: { signal?: any }, ) => any; close?: () => void; closed?: boolean; location?: { origin?: string }; open: (url: string, target: string, features: string) => WindowLike | null; opener?: WindowLike | null; parent?: WindowLike | null; postMessage: (message: any, targetOrigin: string) => any;} Type declaration
addEventListener: (type: string, listener: (event: any) => any, options?: { signal?: any }) => any
Optional
close?: () => void
Optional
closed?: boolean
Optional
location?: { origin?: string }
open: (url: string, target: string, features: string) => WindowLike | null
Optional
opener?: WindowLike | null
Optional
parent?: WindowLike | null
postMessage: (message: any, targetOrigin: string) => any
Things that looks like a
Window