fix: declare window
This commit is contained in:
parent
df93353513
commit
415a6e031d
|
@ -1,5 +1,11 @@
|
|||
declare const cast: any;
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
__onGCastApiAvailable: (isAvailable: boolean) => void;
|
||||
}
|
||||
}
|
||||
|
||||
import { useEffect, useState } from 'react';
|
||||
|
||||
type Receiver = {
|
||||
|
|
Loading…
Reference in a new issue