Passed
Branch master (f543ec)
by Andrew
05:45 queued 02:46
created

dist/index.d.ts   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 14
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A index.d.ts ➔ PluginCritical 0 1 1
1
import { Plugin } from 'rollup';
2
interface CriticalPages {
3
    uri: string;
4
    template: string;
5
}
6
interface CriticalPluginConfig {
7
    criticalUrl: string;
8
    criticalBase?: string;
9
    criticalPages: Partial<CriticalPages>[];
10
    criticalConfig?: Partial<CriticalConfig>;
11
}
12
declare function PluginCritical(pluginConfig: CriticalPluginConfig, callback?: Function): Plugin;
13
export default PluginCritical;
14