mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Convert ext options to typescript
This commit is contained in:
13
ext/src/global.d.ts
vendored
13
ext/src/global.d.ts
vendored
@@ -16,3 +16,16 @@ declare namespace browser.runtime {
|
||||
error: { message: string };
|
||||
}
|
||||
}
|
||||
|
||||
// Allow default attribute on <button>
|
||||
declare namespace React {
|
||||
interface ButtonHTMLAttributes<T> {
|
||||
default?: boolean;
|
||||
}
|
||||
}
|
||||
declare namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
button: React.DetailedHTMLProps<
|
||||
React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user