mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
27 lines
885 B
TypeScript
27 lines
885 B
TypeScript
// Type definitions for gulp-sourcemaps
|
|
// Project: https://github.com/floridoo/gulp-sourcemaps
|
|
// Definitions by: Asana <https://asana.com>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare module "gulp-sourcemaps" {
|
|
interface InitOptions {
|
|
loadMaps?: boolean;
|
|
debug?: boolean;
|
|
}
|
|
|
|
interface WriteMapper {
|
|
(file: string): string;
|
|
}
|
|
|
|
interface WriteOptions {
|
|
addComment?: boolean;
|
|
includeContent?: boolean;
|
|
sourceRoot?: string | WriteMapper;
|
|
sourceMappingURLPrefix?: string | WriteMapper;
|
|
sourceMappingURL?: (f:{relative:string})=>string;
|
|
}
|
|
|
|
export function init(opts?: InitOptions): NodeJS.ReadWriteStream;
|
|
export function write(path?: string, opts?: WriteOptions): NodeJS.ReadWriteStream;
|
|
export function write(opts?: WriteOptions): NodeJS.ReadWriteStream;
|
|
} |