0.0.38 • Published 6 months ago
@types/gulp-sourcemaps v0.0.38
Installation
npm install --save @types/gulp-sourcemaps
Summary
This package contains type definitions for gulp-sourcemaps (https://github.com/gulp-sourcemaps/gulp-sourcemaps).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-sourcemaps.
index.d.ts
// Type definitions for gulp-sourcemaps
// Project: https://github.com/gulp-sourcemaps/gulp-sourcemaps
// Definitions by: Phips Peter <https://github.com/pspeter3>
// Concision <https://github.com/concision>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
import File = require("vinyl");
interface InitOptions {
loadMaps?: boolean | undefined;
debug?: boolean | undefined;
}
interface WriteMapper {
(file: string): string;
}
interface SourceMapMapper {
(sourcePath: string, file: File): string;
}
interface SourceUrlMapper {
(file: File): string;
}
interface MapFilenameMapper {
(mapFilePath: string): string;
}
interface CloneOptions {
contents?: boolean | undefined;
deep?: boolean | undefined;
}
interface WriteOptions {
addComment?: boolean | undefined;
includeContent?: boolean | undefined;
sourceRoot?: string | WriteMapper | undefined;
sourceMappingURLPrefix?: string | WriteMapper | undefined;
sourceMappingURL?: SourceUrlMapper | undefined;
destPath?: string | undefined;
mapFile?: MapFilenameMapper | undefined;
charset?: BufferEncoding | undefined;
clone?: boolean | CloneOptions | undefined;
}
export declare function init(opts?: InitOptions): NodeJS.ReadWriteStream;
export declare function mapSources(mapper?: SourceMapMapper): NodeJS.ReadWriteStream;
export declare function write(path?: string, opts?: WriteOptions): NodeJS.ReadWriteStream;
export declare function write(opts?: WriteOptions): NodeJS.ReadWriteStream;
Additional Details
- Last updated: Thu, 08 Jul 2021 14:22:35 GMT
- Dependencies: @types/vinyl, @types/node
- Global values: none
Credits
These definitions were written by Phips Peter, and Concision.
0.0.37
7 months ago
0.0.38
6 months ago
0.0.36
12 months ago
0.0.35
3 years ago
0.0.34
3 years ago
0.0.33
3 years ago
0.0.32
6 years ago
0.0.31
7 years ago
0.0.30
7 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago