mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [bluebird] Rename import to Bluebird for tests * [bluebird] Restore assignability to native Promises * [bluebird] Upgrade TypeScript Versions of all dependents
31 lines
989 B
TypeScript
31 lines
989 B
TypeScript
// Type definitions for karma-coverage 1.1
|
|
// Project: https://github.com/karma-runner/karma-coverage
|
|
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
|
|
// Yaroslav Admin <https://github.com/devoto13>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.2
|
|
|
|
import 'karma';
|
|
import * as istanbul from 'istanbul';
|
|
|
|
declare module 'karma' {
|
|
interface ConfigOptions {
|
|
/**
|
|
* See https://github.com/karma-runner/karma-coverage/blob/master/docs/configuration.md
|
|
*/
|
|
coverageReporter?: KarmaCoverageReporter & { reporters?: KarmaCoverageReporter[] };
|
|
}
|
|
|
|
interface KarmaCoverageReporter {
|
|
type?: string;
|
|
dir?: string;
|
|
subdir?: string | ((browser: string) => string);
|
|
check?: any;
|
|
watermarks?: any;
|
|
includeAllSources?: boolean;
|
|
sourceStore?: istanbul.Store;
|
|
instrumenter?: any;
|
|
[moreSettings: string]: any;
|
|
}
|
|
}
|