forked from the-simian/gulp-concat-filenames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
19 lines (16 loc) · 878 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
declare module "gulp-concat-filenames" {
import { Duplex } from 'stream';
interface IConcatFilenameOptions {
// The character to use in place of '\n'' for a newline. The default value will be '\n'
newline?: string;
// Some text to prepend to every entry in the list of filenames
prepend?: string;
// Some text to append to every intry in the list of filenames
append?: string;
// A function that takes one parameter (the file name) and returns the string after some formatting. Can be used in addition to, or instead of, append and prepend
template?: (filename: string) => string;
// the root folder. Including this argument will return a list of relative paths instead of absolute paths.
root?: string;
}
export default function concatFilenames(filename: string, options: IConcatFilenameOptions): Duplex;
}