@types/istanbul
Advanced tools
Comparing version
@@ -6,6 +6,5 @@ // Type definitions for Istanbul v0.4.0 | ||
declare namespace istanbul { | ||
interface Istanbul { | ||
new (options?: any): Istanbul; | ||
new(options?: any): Istanbul; | ||
Collector: Collector; | ||
@@ -26,3 +25,3 @@ config: Config; | ||
interface Collector { | ||
new (options?: any): Collector; | ||
new(options?: any): Collector; | ||
add(coverage: any, testName?: string): void; | ||
@@ -45,3 +44,3 @@ getFinalCoverage(): any; | ||
interface Instrumenter { | ||
new (options?: any): Instrumenter; | ||
new(options?: any): Instrumenter; | ||
instrumentSync(code: string, filename: string): string; | ||
@@ -54,7 +53,7 @@ } | ||
interface Configuration { | ||
new (obj: any, overrides: any): Configuration; | ||
new(obj: any, overrides: any): Configuration; | ||
} | ||
interface Reporter { | ||
new (cfg?: Configuration, dir?: string): Reporter; | ||
new(cfg?: Configuration, dir?: string): Reporter; | ||
add(fmt: string): void; | ||
@@ -61,0 +60,0 @@ addAll(fmts: Array<string>): void; |
{ | ||
"name": "@types/istanbul", | ||
"version": "0.4.30", | ||
"version": "0.4.31", | ||
"description": "TypeScript definitions for Istanbul", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul", | ||
"license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/istanbul" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "68fb7a5231a2e2d8bd37b7cc5a368e6a73c9115f5791574ff4b5cf11b0263e87", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "a985679c1877f7b64b93a133b40b8671bae639539e587a054328733212cf6c24", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -8,6 +8,82 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul/index.d.ts) | ||
````ts | ||
// Type definitions for Istanbul v0.4.0 | ||
// Project: https://github.com/gotwarlost/istanbul | ||
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Sat, 24 Mar 2018 21:31:01 GMT | ||
declare namespace istanbul { | ||
interface Istanbul { | ||
new(options?: any): Istanbul; | ||
Collector: Collector; | ||
config: Config; | ||
ContentWriter: ContentWriter; | ||
FileWriter: FileWriter; | ||
hook: Hook; | ||
Instrumenter: Instrumenter; | ||
Report: Report; | ||
Reporter: Reporter; | ||
Store: Store; | ||
utils: ObjectUtils; | ||
VERSION: string; | ||
Writer: Writer; | ||
} | ||
interface Collector { | ||
new(options?: any): Collector; | ||
add(coverage: any, testName?: string): void; | ||
getFinalCoverage(): any; | ||
} | ||
interface Config { | ||
} | ||
interface ContentWriter { | ||
} | ||
interface FileWriter { | ||
} | ||
interface Hook { | ||
} | ||
interface Instrumenter { | ||
new(options?: any): Instrumenter; | ||
instrumentSync(code: string, filename: string): string; | ||
} | ||
interface Report { | ||
} | ||
interface Configuration { | ||
new(obj: any, overrides: any): Configuration; | ||
} | ||
interface Reporter { | ||
new(cfg?: Configuration, dir?: string): Reporter; | ||
add(fmt: string): void; | ||
addAll(fmts: Array<string>): void; | ||
write(collector: Collector, sync: boolean, callback: Function): void; | ||
} | ||
interface Store { | ||
} | ||
interface ObjectUtils { | ||
} | ||
interface Writer { | ||
} | ||
} | ||
declare var istanbul: istanbul.Istanbul; | ||
export = istanbul; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 26 Sep 2023 14:36:22 GMT | ||
* Dependencies: none | ||
@@ -17,2 +93,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Tanguy Krotoff <https://github.com/tkrotoff>. | ||
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff). |
Sorry, the diff of this file is not supported yet
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5761
47.68%1
-50%93
447.06%