refactor: fix typescript errors

This commit is contained in:
2026-10-22 23:18:06 +03:00
parent 84d905dbb3
commit a25f223b61
16 changed files with 739 additions and 392 deletions
+9
View File
@@ -0,0 +1,9 @@
declare module "gulp-clean" {
import type { WritableStream } from "stream";
export interface Options {
force?: boolean;
}
export default (options?: Options) => WritableStream;
}
+32
View File
@@ -0,0 +1,32 @@
declare module "gulp-debian" {
import type { WritableStream } from "stream";
export interface Options {
package: string;
version: string;
section: string;
priority: string;
architecture: string;
maintainer?: string;
description?: string;
preinst?: string[];
postinst?: string[];
prerm?: string[];
postrm?: string[];
conffiles?: string;
changelog?: {
version: string;
distribution: string;
urgency: string;
date: Date;
changes: string[];
}[];
_target?: string;
_out?: string;
_copyright?: string;
_clean?: boolean;
_verbose?: boolean;
}
export default (options: Options) => WritableStream;
}
+14
View File
@@ -0,0 +1,14 @@
declare module "vinyl" {
export class File {
path: string;
cwd: string;
base: string;
contents: any;
stat: any;
history: any[];
constructor(params: any);
clone(options?: any);
}
export default File;
}