{"action":"created","issue":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5703","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5703/labels{/name}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5703/comments","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5703/events","html_url":"https://github.com/borisyankov/DefinitelyTyped/issues/5703","id":105068738,"number":5703,"title":"support process.domain in node.js","user":{"login":"emmettnicholas","id":225406,"avatar_url":"https://avatars.githubusercontent.com/u/225406?v=3","gravatar_id":"","url":"https://api.github.com/users/emmettnicholas","html_url":"https://github.com/emmettnicholas","followers_url":"https://api.github.com/users/emmettnicholas/followers","following_url":"https://api.github.com/users/emmettnicholas/following{/other_user}","gists_url":"https://api.github.com/users/emmettnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/emmettnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmettnicholas/subscriptions","organizations_url":"https://api.github.com/users/emmettnicholas/orgs","repos_url":"https://api.github.com/users/emmettnicholas/repos","events_url":"https://api.github.com/users/emmettnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/emmettnicholas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-06T03:30:59Z","updated_at":"2015-09-08T17:33:07Z","closed_at":null,"body":"I'm brand new to TypeScript (~30 minutes in), so sorry if I'm missing something obvious:\r\n\r\nI'm unable to use `process.domain`:\r\n\r\n    /// <reference path=\"node-0.10.d.ts\" />\r\n\r\n    var domain = require('domain');\r\n\r\n    domain.create().run(function() {\r\n        console.log(process.domain);\r\n    });\r\n\r\nWhen I compile this with `tsc foo.ts`, I get the following error:\r\n\r\n    error TS2339: Property 'domain' does not exist on type 'Process'.\r\n\r\n`process.domain` is referenced in the [Node.js Domain docs](https://nodejs.org/api/domain.html):\r\n\r\n> It sets domain.active and **process.domain** to the domain, and implicitly pushes the domain onto the domain stack managed by the domain module (see domain.exit() for details on the domain stack)."},"comment":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/comments/138642911","html_url":"https://github.com/borisyankov/DefinitelyTyped/issues/5703#issuecomment-138642911","issue_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5703","id":138642911,"user":{"login":"emmettnicholas","id":225406,"avatar_url":"https://avatars.githubusercontent.com/u/225406?v=3","gravatar_id":"","url":"https://api.github.com/users/emmettnicholas","html_url":"https://github.com/emmettnicholas","followers_url":"https://api.github.com/users/emmettnicholas/followers","following_url":"https://api.github.com/users/emmettnicholas/following{/other_user}","gists_url":"https://api.github.com/users/emmettnicholas/gists{/gist_id}","starred_url":"https://api.github.com/users/emmettnicholas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmettnicholas/subscriptions","organizations_url":"https://api.github.com/users/emmettnicholas/orgs","repos_url":"https://api.github.com/users/emmettnicholas/repos","events_url":"https://api.github.com/users/emmettnicholas/events{/privacy}","received_events_url":"https://api.github.com/users/emmettnicholas/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T17:33:07Z","updated_at":"2015-09-08T17:33:07Z","body":"@vvakame Does that file define `process.domain` somewhere?"}}