@types/istanbul-lib-source-maps

  • Version 4.0.4
  • Published
  • 5.19 kB
  • 2 dependencies
  • MIT license

Install

npm i @types/istanbul-lib-source-maps
yarn add @types/istanbul-lib-source-maps
pnpm add @types/istanbul-lib-source-maps

Overview

TypeScript definitions for istanbul-lib-source-maps

Index

Functions

function createSourceMapStore

createSourceMapStore: (options?: Partial<MapStoreOptions>) => MapStore;

    Classes

    class SourceStore

    class SourceStore {}

      method getSource

      getSource: (filepath: string) => string | null;

        method registerSource

        registerSource: (filepath: string, sourceText: string) => void;

          Interfaces

          interface MapStore

          interface MapStore {}

            property baseDir

            baseDir: string | null;

              property data

              data: {
              [filepath: string]: {
              type: string;
              data: any;
              };
              };

                property sourceStore

                sourceStore: SourceStore;

                  property verbose

                  verbose: boolean;

                    method addInputSourceMapsSync

                    addInputSourceMapsSync: (coverageData: any) => void;

                      method dispose

                      dispose: () => void;

                        method getSourceMapSync

                        getSourceMapSync: (filePath: string) => any;

                          method registerMap

                          registerMap: (filename: string, sourceMap: RawSourceMap) => void;

                            method registerURL

                            registerURL: (transformedFilePath: string, sourceMapUrl: string) => void;

                              method sourceFinder

                              sourceFinder: (filePath: string) => string;

                                method transformCoverage

                                transformCoverage: (coverageMap: CoverageMap) => Promise<CoverageMap>;

                                  interface MapStoreOptions

                                  interface MapStoreOptions {}

                                    property baseDir

                                    baseDir: string;

                                      property sourceStore

                                      sourceStore: 'memory' | 'file';

                                        property tmpdir

                                        tmpdir: string;

                                          property verbose

                                          verbose: boolean;

                                            Package Files (1)

                                            Dependencies (2)

                                            Dev Dependencies (0)

                                            No dev dependencies.

                                            Peer Dependencies (0)

                                            No peer dependencies.

                                            Badge

                                            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-lib-source-maps.

                                            • Markdown
                                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/istanbul-lib-source-maps)
                                            • HTML
                                              <a href="https://www.jsdocs.io/package/@types/istanbul-lib-source-maps"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>