• Version 0.4.34
  • Published
  • 5.28 kB
  • No dependencies
  • MIT license


npm i @types/istanbul
yarn add @types/istanbul
pnpm add @types/istanbul


TypeScript definitions for istanbul



variable istanbul

var istanbul: istanbul.Istanbul;


    interface Collector

    interface Collector {}

      method add

      add: (coverage: any, testName?: string) => void;

        method getFinalCoverage

        getFinalCoverage: () => any;

          construct signature

          new (options?: any): Collector;

            interface Config

            interface Config {}

              interface Configuration

              interface Configuration {}

                construct signature

                new (obj: any, overrides: any): Configuration;

                  interface ContentWriter

                  interface ContentWriter {}

                    interface FileWriter

                    interface FileWriter {}

                      interface Hook

                      interface Hook {}

                        interface Instrumenter

                        interface Instrumenter {}

                          method instrumentSync

                          instrumentSync: (code: string, filename: string) => string;

                            construct signature

                            new (options?: any): Instrumenter;

                              interface Istanbul

                              interface Istanbul {}

                                property Collector

                                Collector: Collector;

                                  property config

                                  config: Config;

                                    property ContentWriter

                                    ContentWriter: ContentWriter;

                                      property FileWriter

                                      FileWriter: FileWriter;

                                        property hook

                                        hook: Hook;

                                          property Instrumenter

                                          Instrumenter: Instrumenter;

                                            property Report

                                            Report: Report;

                                              property Reporter

                                              Reporter: Reporter;

                                                property Store

                                                Store: Store;

                                                  property utils

                                                  utils: ObjectUtils;

                                                    property VERSION

                                                    VERSION: string;

                                                      property Writer

                                                      Writer: Writer;

                                                        construct signature

                                                        new (options?: any): Istanbul;

                                                          interface ObjectUtils

                                                          interface ObjectUtils {}

                                                            interface Report

                                                            interface Report {}

                                                              interface Reporter

                                                              interface Reporter {}

                                                                method add

                                                                add: (fmt: string) => void;

                                                                  method addAll

                                                                  addAll: (fmts: string[]) => void;

                                                                    method write

                                                                    write: (collector: Collector, sync: boolean, callback: Function) => void;

                                                                      construct signature

                                                                      new (cfg?: Configuration, dir?: string): Reporter;

                                                                        interface Store

                                                                        interface Store {}

                                                                          interface Writer

                                                                          interface Writer {}

                                                                            Package Files (1)

                                                                            Dependencies (0)

                                                                            No dependencies.

                                                                            Dev Dependencies (0)

                                                                            No dev dependencies.

                                                                            Peer Dependencies (0)

                                                                            No peer dependencies.


                                                                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/istanbul.

                                                                            • Markdown
                                                                            • HTML
                                                                              <a href="https://www.jsdocs.io/package/@types/istanbul"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>