-
Couldn't load subscription status.
- Fork 13.1k
Closed
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
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.
Metadata
Metadata
Assignees
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScript