Skip to content

Commit fb07b70

Browse files
authored
Merge pull request #229 from alexeagle/master
Add missing optional constructor param for Text
2 parents db6bcf5 + 6588f2b commit fb07b70

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

baselines/dom.generated.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11587,7 +11587,7 @@ interface Text extends CharacterData {
1158711587

1158811588
declare var Text: {
1158911589
prototype: Text;
11590-
new(): Text;
11590+
new(data?: string): Text;
1159111591
}
1159211592

1159311593
interface TextEvent extends UIEvent {

inputfiles/overridingTypes.json

+7
Original file line numberDiff line numberDiff line change
@@ -1066,5 +1066,12 @@
10661066
"signatures": [
10671067
"new(type: string, touchEventInit?: TouchEventInit): TouchEvent"
10681068
]
1069+
},
1070+
{
1071+
"kind": "constructor",
1072+
"interface": "Text",
1073+
"signatures": [
1074+
"new(data?: string): Text"
1075+
]
10691076
}
10701077
]

0 commit comments

Comments
 (0)