wishthis/node_modules/gulp-concat-filenames/index.d.ts
2022-01-21 09:28:41 +01:00

19 lines
859 B
TypeScript

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;
}