Skip to content

Commit 1bba426

Browse files
author
Orta Therox
authored
Update createTypesPackages.js
1 parent 9f18e09 commit 1bba426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/createTypesPackages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ function prependAutoImports(pkg, packagePath) {
199199
export function postProcessDTSFiles(pkg, packagePath) {
200200
iterateThroughFiles((content) => {
201201
return content.replace(
202-
"abort(): AbortSignal;",
203-
"// abort(): AbortSignal; - To be re-added in the future"
202+
"abort(reason?: any): AbortSignal;",
203+
"// abort(reason?: any): AbortSignal; - To be re-added in the future"
204204
);
205205
});
206206

0 commit comments

Comments
 (0)