shlink-web-client/shlink-web-client.d.ts

18 lines
469 B
TypeScript
Raw Normal View History

2022-12-25 11:13:45 +03:00
// eslint-disable-next-line max-classes-per-file
2020-08-29 14:51:53 +03:00
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);
}
2020-08-22 09:47:19 +03:00
}
2020-08-29 14:51:53 +03:00
2022-12-25 11:13:45 +03:00
declare module '@json2csv/plainjs' {
export class Parser {
parse: <T>(data: T[]) => string;
}
}
2020-08-29 14:51:53 +03:00
declare module '*.png'