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;
|
2021-02-28 20:48:36 +03:00
|
|
|
public close: () => void;
|
2021-02-28 19:43:41 +03:00
|
|
|
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[];
|
2021-03-14 20:12:10 +03:00
|
|
|
public toCSV<T>(data: T[], options: { headers: 'full' | 'none' | 'relative' | 'key' }): string;
|
2020-08-29 15:16:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-29 14:51:53 +03:00
|
|
|
declare module '*.png'
|