Property 'confirmationResult' does not exist on type 'Window'. code example
Example: typescript add global variable to window
declare global {
interface Window {
FB:any;
}
}
let FB = window.FB; // ok now
declare global {
interface Window {
FB:any;
}
}
let FB = window.FB; // ok now