Skip to content

Commit

Permalink
Merge pull request #229 from alexeagle/master
Browse files Browse the repository at this point in the history
Add missing optional constructor param for Text
  • Loading branch information
mhegazy authored Apr 13, 2017
2 parents db6bcf5 + 6588f2b commit fb07b70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11587,7 +11587,7 @@ interface Text extends CharacterData {

declare var Text: {
prototype: Text;
new(): Text;
new(data?: string): Text;
}

interface TextEvent extends UIEvent {
Expand Down
7 changes: 7 additions & 0 deletions inputfiles/overridingTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1066,5 +1066,12 @@
"signatures": [
"new(type: string, touchEventInit?: TouchEventInit): TouchEvent"
]
},
{
"kind": "constructor",
"interface": "Text",
"signatures": [
"new(data?: string): Text"
]
}
]

0 comments on commit fb07b70

Please sign in to comment.