Skip to content

Commit

Permalink
Update the TS typings
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Nov 8, 2024
1 parent 2fd4118 commit fbf652f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/gulp_plugin.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {Transform, TransformCallback} from "node:stream";
import File from "vinyl"
import {Transform} from "node:stream";

/**
* Minifies PHP source code by removing comments and whitespace.
Expand All @@ -11,15 +10,6 @@ export class GulpPlugin extends Transform {
* @param options An object providing values to initialize this instance.
*/
constructor(options?: GulpPluginOptions);

/**
* Transforms input and produces output.
* @param chunk The chunk to transform.
* @param encoding The encoding type if the chunk is a string.
* @param callback The function to invoke when the supplied chunk has been processed.
* @returns The transformed chunk.
*/
_transform(chunk: File, encoding: NodeJS.BufferEncoding, callback: TransformCallback): Promise<void>;
}

/**
Expand Down

0 comments on commit fbf652f

Please sign in to comment.