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 Oct 18, 2024
1 parent 377fbd8 commit b3c72b5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import {Transform} from "node:stream";

/**
* Minifies PHP source code by removing comments and whitespace.
*/
declare class GulpPlugin extends Transform {}
import type {Transform} from "node:stream";

/**
* Defines the options of a {@link GulpPlugin} instance.
Expand Down Expand Up @@ -31,4 +26,4 @@ export interface GulpPluginOptions {
* @param options The plugin options.
* @returns The newly created instance.
*/
export function phpMinify(options?: Partial<GulpPluginOptions>): GulpPlugin;
export function phpMinify(options?: Partial<GulpPluginOptions>): Transform;

0 comments on commit b3c72b5

Please sign in to comment.