2020-08-29 14:51:53 +03:00
|
|
|
declare module 'event-source-polyfill' {
|
2021-02-28 19:43:41 +03:00
|
|
|
declare class EventSourcePolyfill {
|
|
|
|
public onmessage?: ({ data }: { data: string }) => void;
|
|
|
|
public onerror?: ({ status }: { status: number }) => void;
|
|
|
|
public close: Function;
|
|
|
|
public constructor(hubUrl: URL, options?: any);
|
|
|
|
}
|
2020-08-22 09:47:19 +03:00
|
|
|
}
|
2020-08-29 14:51:53 +03:00
|
|
|
|
2020-08-29 15:16:37 +03:00
|
|
|
declare module 'csvjson' {
|
|
|
|
export declare class CsvJson {
|
|
|
|
public toObject<T>(content: string): T[];
|
|
|
|
public toCSV<T>(data: T[], options: { headers: string }): string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-29 14:51:53 +03:00
|
|
|
declare module '*.png'
|