DocSpace-client/packages/common/index.d.ts

21 lines
307 B
TypeScript

type TFuncType = (key: string) => string;
type HTMLElementEvent<T extends HTMLElement> = Event & {
target: T;
};
interface IProvider {
linked: boolean;
provider: string;
url: string;
}
type ProvidersType = IProvider[];
interface Window {
zESettings?: any;
zE?: {
apply: Function;
};
}