gradio/ui/global.d.ts
pngwn d6f54b6607
type components with typescript (#545)
* type audio component

* add types

* add types for dropdown

* add types for File

* type image component

* type number component

* type radio

* type slider

* type textbox

* type timeseries

* type video

* remove logs

* fix formatting

* some output component types

* type JSON output

* type label output

* type timeseries and video output

* type more output components

* more types

* type interface and app

* update config to ts

* update nam,es
2022-02-07 14:34:53 +00:00

7 lines
128 B
TypeScript

declare namespace svelte.JSX {
interface DOMAttributes<T extends EventTarget> {
theme?: string;
"item-type"?: string;
}
}