mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-04 21:19:53 +08:00
[jquery] Allow writing through index signature on JQuery.
This commit is contained in:
@@ -11,7 +11,10 @@ function JQuery() {
|
||||
}
|
||||
|
||||
function arrayLike() {
|
||||
$('div')[0] === new HTMLElement();
|
||||
// $ExpectType HTMLElement
|
||||
$('div')[0];
|
||||
|
||||
$('div')[0] = new HTMLElement();
|
||||
}
|
||||
|
||||
function ajax() {
|
||||
|
||||
Reference in New Issue
Block a user