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