Skip to content

Commit c5e2df1

Browse files
sandersnorta
andcommitted
Remove static abort from AbortSignal
@types/node doesn't have it, and it's not worth it to make @types/node create a new @types/node version. Co-authored-by: Orta Therox <[email protected]>
1 parent a932541 commit c5e2df1

5 files changed

+8
-4
lines changed

baselines/dom.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,6 @@ interface AbortSignal extends EventTarget {
19121912
declare var AbortSignal: {
19131913
prototype: AbortSignal;
19141914
new(): AbortSignal;
1915-
abort(): AbortSignal;
19161915
};
19171916

19181917
interface AbstractRange {

baselines/serviceworker.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,6 @@ interface AbortSignal extends EventTarget {
697697
declare var AbortSignal: {
698698
prototype: AbortSignal;
699699
new(): AbortSignal;
700-
abort(): AbortSignal;
701700
};
702701

703702
interface AbstractWorkerEventMap {

baselines/sharedworker.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,6 @@ interface AbortSignal extends EventTarget {
669669
declare var AbortSignal: {
670670
prototype: AbortSignal;
671671
new(): AbortSignal;
672-
abort(): AbortSignal;
673672
};
674673

675674
interface AbstractWorkerEventMap {

baselines/webworker.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,6 @@ interface AbortSignal extends EventTarget {
703703
declare var AbortSignal: {
704704
prototype: AbortSignal;
705705
new(): AbortSignal;
706-
abort(): AbortSignal;
707706
};
708707

709708
interface AbstractWorkerEventMap {

inputfiles/removedTypes.jsonc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,14 @@
166166
"Text": {
167167
"implements": ["GeometryUtils"]
168168
},
169+
// This is hard to get in sync with @types/node
170+
"AbortSignal": {
171+
"methods": {
172+
"method": {
173+
"abort": null
174+
}
175+
}
176+
},
169177
"WebGLBuffer": {
170178
"extends": null
171179
},

0 commit comments

Comments
 (0)