mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-25 18:38:21 +03:00
17 lines
528 B
TypeScript
17 lines
528 B
TypeScript
declare module 'event-source-polyfill' {
|
|
declare class EventSourcePolyfill {
|
|
public onmessage?: ({ data }: { data: string }) => void;
|
|
public onerror?: ({ status }: { status: number }) => void;
|
|
public close: () => void;
|
|
public constructor(hubUrl: URL, options?: any);
|
|
}
|
|
}
|
|
|
|
declare module 'csvjson' {
|
|
export declare class CsvJson {
|
|
public toObject<T>(content: string): T[];
|
|
public toCSV<T>(data: T[], options: { headers: 'full' | 'none' | 'relative' | 'key' }): string;
|
|
}
|
|
}
|
|
|
|
declare module '*.png'
|