[jquery] Allow writing through index signature on JQuery.

This commit is contained in:
Leonard Thieu
2017-06-26 11:42:19 -04:00
parent f3bcbe6132
commit c6ba2a6276
2 changed files with 7 additions and 2 deletions

View File

@@ -11,7 +11,10 @@ function JQuery() {
}
function arrayLike() {
$('div')[0] === new HTMLElement();
// $ExpectType HTMLElement
$('div')[0];
$('div')[0] = new HTMLElement();
}
function ajax() {