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

index.d.ts ➔ PluginCritical   A

Complexity

Conditions 1

Size

Total Lines 1
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 1
rs 10
c 0
b 0
f 0
cc 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