@types/istanbul-reports
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -11,19 +11,19 @@ // Type definitions for istanbul-reports 1.1 | ||
export function create<T extends keyof ReportOptions>( | ||
name: T, | ||
options?: Partial<ReportOptions[T]> | ||
name: T, | ||
options?: Partial<ReportOptions[T]> | ||
): Visitor; | ||
export interface ReportOptions { | ||
clover: RootedOptions; | ||
cobertura: RootedOptions; | ||
html: HtmlOptions; | ||
json: Options; | ||
'json-summary': Options; | ||
lcov: never; | ||
lcovonly: Options; | ||
none: RootedOptions; | ||
teamcity: Options & { blockName: string }; | ||
text: Options & { maxCols: number }; | ||
'text-lcov': Options; | ||
'text-summary': Options; | ||
clover: RootedOptions; | ||
cobertura: RootedOptions; | ||
html: HtmlOptions; | ||
json: Options; | ||
'json-summary': Options; | ||
lcov: never; | ||
lcovonly: Options; | ||
none: RootedOptions; | ||
teamcity: Options & { blockName: string }; | ||
text: Options & { maxCols: number }; | ||
'text-lcov': Options; | ||
'text-summary': Options; | ||
} | ||
@@ -34,19 +34,19 @@ | ||
export interface Options { | ||
file: string; | ||
file: string; | ||
} | ||
export interface RootedOptions extends Options { | ||
projectRoot: string; | ||
projectRoot: string; | ||
} | ||
export interface HtmlOptions { | ||
verbose: boolean; | ||
linkMapper: LinkMapper; | ||
subdir: string; | ||
verbose: boolean; | ||
linkMapper: LinkMapper; | ||
subdir: string; | ||
} | ||
export interface LinkMapper { | ||
getPath(node: string | Node): string; | ||
relativePath(source: string | Node, target: string | Node): string; | ||
assetPath(node: Node, name: string): string; | ||
getPath(node: string | Node): string; | ||
relativePath(source: string | Node, target: string | Node): string; | ||
assetPath(node: Node, name: string): string; | ||
} |
{ | ||
"name": "@types/istanbul-reports", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "TypeScript definitions for istanbul-reports", | ||
@@ -14,3 +14,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -26,4 +26,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "48ffb8b28b9f445ebd12c748ea4cf877e1b802bee7fa18c4392b793e84bfce5a", | ||
"typeScriptVersion": "2.4" | ||
"typesPublisherContentHash": "c13cd090c027208710520a039ec004ef0045ea12516dc4c71d648e4fce9ff9f7", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for istanbul-reports ( https://github.com/istanbuljs/istanbuljs ). | ||
This package contains type definitions for istanbul-reports (https://github.com/istanbuljs/istanbuljs). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-reports. | ||
Additional Details | ||
* Last updated: Wed, 17 Apr 2019 17:14:08 GMT | ||
* Dependencies: @types/istanbul-lib-report, @types/istanbul-lib-coverage | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 04:09:43 GMT | ||
* Dependencies: [@types/istanbul-lib-report](https://npmjs.com/package/@types/istanbul-lib-report), [@types/istanbul-lib-coverage](https://npmjs.com/package/@types/istanbul-lib-coverage) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Jason Cheatham <https://github.com/jason0x43>. | ||
These definitions were written by [Jason Cheatham](https://github.com/jason0x43). |
Sorry, the diff of this file is not supported yet
4024