1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import * as File from 'vinyl';
|
8 |
|
9 | declare namespace rename {
|
10 | interface ParsedPath {
|
11 | dirname: string;
|
12 | basename: string;
|
13 | extname: string;
|
14 | }
|
15 |
|
16 | interface Options {
|
17 | dirname?: string | undefined;
|
18 | basename?: string | undefined;
|
19 | extname?: string | undefined;
|
20 | prefix?: string | undefined;
|
21 | suffix?: string | undefined;
|
22 | }
|
23 |
|
24 | interface PluginOptions {
|
25 | multiExt?: boolean | undefined;
|
26 | }
|
27 | }
|
28 |
|
29 | declare function rename(obj: string|rename.Options|((path: rename.ParsedPath, file: File) => rename.ParsedPath|void), options?: rename.PluginOptions): NodeJS.ReadWriteStream;
|
30 | export = rename;
|