{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3267","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3267/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3267/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3267/events","html_url":"https://github.com/Microsoft/TypeScript/issues/3267","id":81102763,"number":3267,"title":"Cast to Any","user":{"login":"laktak","id":959858,"avatar_url":"https://avatars.githubusercontent.com/u/959858?v=3","gravatar_id":"","url":"https://api.github.com/users/laktak","html_url":"https://github.com/laktak","followers_url":"https://api.github.com/users/laktak/followers","following_url":"https://api.github.com/users/laktak/following{/other_user}","gists_url":"https://api.github.com/users/laktak/gists{/gist_id}","starred_url":"https://api.github.com/users/laktak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laktak/subscriptions","organizations_url":"https://api.github.com/users/laktak/orgs","repos_url":"https://api.github.com/users/laktak/repos","events_url":"https://api.github.com/users/laktak/events{/privacy}","received_events_url":"https://api.github.com/users/laktak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Question","name":"Question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-26T19:31:23Z","updated_at":"2015-05-27T18:56:58Z","closed_at":null,"body":"TS Handbook:\r\n\r\n> The 'any' type is a powerful way to work with existing JavaScript, allowing you to gradually opt-in and opt-out of type-checking during compilation.\r\n\r\nThough when I want to opt-out I often have to cast using `<any>` which isn't very readable (e.g. `(<any>window).myProperty`).\r\n\r\nIs there a better way to opt-out of type checking?"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/106036127","html_url":"https://github.com/Microsoft/TypeScript/issues/3267#issuecomment-106036127","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3267","id":106036127,"user":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T18:56:58Z","updated_at":"2015-05-27T18:56:58Z","body":"I don't think we're going to add extra syntax for turning off typechecking -- there's already a lot of options.\r\n\r\nAre you aware you can augment existing types?\r\n```ts\r\ninterface Window {\r\n  myProperty: any;\r\n}\r\n```"}}