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

21 lines
307 B
TypeScript
Raw Normal View History

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