Skip to content

Commit c9fadf0

Browse files
committed
Port #277
1 parent ce62e17 commit c9fadf0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9696,7 +9696,7 @@ interface Path2D extends CanvasPathMethods {
96969696

96979697
declare var Path2D: {
96989698
prototype: Path2D;
9699-
new(path?: Path2D): Path2D;
9699+
new(d?: Path2D | string): Path2D;;
97009700
};
97019701

97029702
interface PaymentAddress {

inputfiles/overridingTypes.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,6 +1866,14 @@
18661866
}
18671867
}
18681868
}
1869+
},
1870+
"Path2D": {
1871+
"name": "Path2D",
1872+
"constructor": {
1873+
"override-signatures": [
1874+
"new(d?: Path2D | string): Path2D;"
1875+
]
1876+
}
18691877
}
18701878
}
18711879
},

0 commit comments

Comments
 (0)