shlink-web-client/shlink-web-client.d.ts
Alejandro Celaya 822fe3db9e Small fixes
2022-12-25 09:13:45 +01:00

17 lines
469 B
TypeScript

// eslint-disable-next-line max-classes-per-file
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 '@json2csv/plainjs' {
export class Parser {
parse: <T>(data: T[]) => string;
}
}
declare module '*.png'