fix: declare window

This commit is contained in:
httpjamesm 2023-12-09 16:42:17 -05:00
parent df93353513
commit 415a6e031d
No known key found for this signature in database

View file

@ -1,5 +1,11 @@
declare const cast: any;
declare global {
interface Window {
__onGCastApiAvailable: (isAvailable: boolean) => void;
}
}
import { useEffect, useState } from 'react';
type Receiver = {