mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Allow specific mangle options to be passed to gulp-uglify * Set required TS version * Update uglify-js v2 too * Fix tests
25 lines
678 B
TypeScript
25 lines
678 B
TypeScript
// Type definitions for gulp-useref v3.0.0
|
|
// Project: https://github.com/jonkemp/gulp-useref
|
|
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
/// <reference types="node" />
|
|
|
|
|
|
interface Options {
|
|
searchPath?: string | string[];
|
|
base?: string;
|
|
noAssets?: boolean;
|
|
noconcat?: boolean;
|
|
additionalStreams?: Array<NodeJS.ReadWriteStream>;
|
|
transformPath?: (filePath: string) => void;
|
|
}
|
|
|
|
interface Useref {
|
|
(options?: Options, ...transformStreams: NodeJS.ReadWriteStream[]): NodeJS.ReadWriteStream;
|
|
}
|
|
|
|
declare var useref: Useref;
|
|
export = useref;
|