{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7049","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7049/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7049/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7049/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049","id":120377010,"number":7049,"title":"Fix: declare var require: NodeRequire","user":{"login":"larsw","id":63235,"avatar_url":"https://avatars.githubusercontent.com/u/63235?v=3","gravatar_id":"","url":"https://api.github.com/users/larsw","html_url":"https://github.com/larsw","followers_url":"https://api.github.com/users/larsw/followers","following_url":"https://api.github.com/users/larsw/following{/other_user}","gists_url":"https://api.github.com/users/larsw/gists{/gist_id}","starred_url":"https://api.github.com/users/larsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsw/subscriptions","organizations_url":"https://api.github.com/users/larsw/orgs","repos_url":"https://api.github.com/users/larsw/repos","events_url":"https://api.github.com/users/larsw/events{/privacy}","received_events_url":"https://api.github.com/users/larsw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Revision%20needed","name":"Revision needed","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-12-04T10:48:56Z","updated_at":"2016-07-29T21:37:06Z","closed_at":"2016-06-30T21:50:43Z","pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/7049","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049.patch"},"body":"tsc reports an error that the require variable should be of type NodeRequire and not Require.\r\nWorks with this fix."},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/236300020","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049#issuecomment-236300020","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7049","id":236300020,"user":{"login":"wgv-sethlivingston","id":17254374,"avatar_url":"https://avatars.githubusercontent.com/u/17254374?v=3","gravatar_id":"","url":"https://api.github.com/users/wgv-sethlivingston","html_url":"https://github.com/wgv-sethlivingston","followers_url":"https://api.github.com/users/wgv-sethlivingston/followers","following_url":"https://api.github.com/users/wgv-sethlivingston/following{/other_user}","gists_url":"https://api.github.com/users/wgv-sethlivingston/gists{/gist_id}","starred_url":"https://api.github.com/users/wgv-sethlivingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wgv-sethlivingston/subscriptions","organizations_url":"https://api.github.com/users/wgv-sethlivingston/orgs","repos_url":"https://api.github.com/users/wgv-sethlivingston/repos","events_url":"https://api.github.com/users/wgv-sethlivingston/events{/privacy}","received_events_url":"https://api.github.com/users/wgv-sethlivingston/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T21:37:06Z","updated_at":"2016-07-29T21:37:06Z","body":"I \"fixed\" this by modifying the .d.ts files for Node and RequireJS:\r\n\r\n    declare var require: NodeRequire|Require\r\n\r\nThis needs to be done in both .d.ts files, so one PR with this fix will not fix the error. Ideas?"}}
{"actor":{"display_login":"wgv-sethlivingston"}}