Convert gulp files to ts

For #277526

Had to add a few ugly casts in difficult cases but mostly trying to add proper types
This commit is contained in:
Matt Bierner
2025-11-21 15:38:55 -08:00
parent 538db6134e
commit fcfb37c8f8
17 changed files with 217 additions and 274 deletions

View File

@@ -209,7 +209,7 @@ function bundleESMTask(opts: IBundleESMTaskOpts): NodeJS.ReadWriteStream {
}));
}
export interface IBundleESMTaskOpts {
export interface IBundleTaskOpts {
/**
* Destination folder for the bundled files.
*/
@@ -220,7 +220,7 @@ export interface IBundleESMTaskOpts {
esm: IBundleESMTaskOpts;
}
export function bundleTask(opts: IBundleESMTaskOpts): () => NodeJS.ReadWriteStream {
export function bundleTask(opts: IBundleTaskOpts): () => NodeJS.ReadWriteStream {
return function () {
return bundleESMTask(opts.esm).pipe(gulp.dest(opts.out));
};