Passed
Pull Request — main (#343)
by Alejandro
03:59
created

shlink-web-client.d.ts   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 13
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 8
mnd 0
bc 0
fnc 2
dl 0
loc 13
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0

2 Functions

Rating   Name   Duplication   Size   Complexity  
A CsvJson.toObject 0 1 1
A CsvJson.toCSV 0 1 1
1
declare module 'event-source-polyfill' {
2
  export const EventSourcePolyfill: any;
3
}
4
5
declare module 'csvjson' {
6
  export declare class CsvJson {
7
    public toObject<T>(content: string): T[];
8
    public toCSV<T>(data: T[], options: { headers: string }): string;
9
  }
10
}
11
12
declare module '*.png'
13