Closed
Description
Pre 1.3, with --noImplicitAny
flag on, having the following:
interface Object {
[key: string]: any;
}
would enable this type of scenario:
var element = document.querySelector("#something");
element["foo"] = { ... };
However, now this results in an implicit-any error. The winjs/winjs team uses this pattern a lot to add and access members on various objects and this is blocking us from moving to 1.3.