This commit is contained in:
Tanguy Krotoff
2015-07-06 14:03:20 +02:00
parent cca3141ba5
commit 9709e63890
2 changed files with 40 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// Type definitions for gulp-useref v1.2.0
// Project: https://github.com/jonkemp/gulp-useref
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'gulp-useref' {
interface IAssetsOptions {
searchPath?: string | string[];
noconcat?: boolean;
}
interface IAssetsStream extends NodeJS.ReadWriteStream {
restore(): NodeJS.ReadWriteStream;
}
interface IUseref {
(options?: any): NodeJS.ReadWriteStream;
assets(options?: IAssetsOptions): IAssetsStream;
}
var useref: IUseref;
export = useref;
}