Skip to content

Commit fbf652f

Browse files
author
Cédric Belin
committed
Update the TS typings
1 parent 2fd4118 commit fbf652f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

lib/gulp_plugin.d.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import {Transform, TransformCallback} from "node:stream";
2-
import File from "vinyl"
1+
import {Transform} from "node:stream";
32

43
/**
54
* Minifies PHP source code by removing comments and whitespace.
@@ -11,15 +10,6 @@ export class GulpPlugin extends Transform {
1110
* @param options An object providing values to initialize this instance.
1211
*/
1312
constructor(options?: GulpPluginOptions);
14-
15-
/**
16-
* Transforms input and produces output.
17-
* @param chunk The chunk to transform.
18-
* @param encoding The encoding type if the chunk is a string.
19-
* @param callback The function to invoke when the supplied chunk has been processed.
20-
* @returns The transformed chunk.
21-
*/
22-
_transform(chunk: File, encoding: NodeJS.BufferEncoding, callback: TransformCallback): Promise<void>;
2313
}
2414

2515
/**

0 commit comments

Comments
 (0)