Skip to content

Commit

Permalink
Override SVGSVGElement method getElementById
Browse files Browse the repository at this point in the history
This method may return null, but not according to the current type
definitions.
  • Loading branch information
remcohaszing committed Oct 9, 2023
1 parent 974688d commit c7af0ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,12 @@
"SVGSVGElement": {
"methods": {
"method": {
"getElementById": {
"name": "getElementById",
"overrideSignatures": [
"getElementById(elementId: string): Element | null"
]
},
"getEnclosureList": {
"signature": {
"0": {
Expand Down

0 comments on commit c7af0ce

Please sign in to comment.