Skip to content

Commit 6cb2cfa

Browse files
authored
Merge pull request #545 from Microsoft/Fix26083
Add index signature back to `Storage`
2 parents e5c3f73 + 90a61ad commit 6cb2cfa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14333,6 +14333,7 @@ interface Storage {
1433314333
* storage[key] = value
1433414334
*/
1433514335
setItem(key: string, value: string): void;
14336+
[name: string]: any;
1433614337
}
1433714338

1433814339
declare var Storage: {

inputfiles/overridingTypes.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,10 @@
12911291
]
12921292
}
12931293
}
1294-
}
1294+
},
1295+
"override-index-signatures": [
1296+
"[name: string]: any"
1297+
]
12951298
},
12961299
"HTMLOptionsCollection": {
12971300
"name": "HTMLOptionsCollection",
@@ -2584,4 +2587,4 @@
25842587
"typedefs": {
25852588
"typedef": []
25862589
}
2587-
}
2590+
}

0 commit comments

Comments
 (0)