{"action":"created","issue":{"url":"https://api.github.com/repos/typings/typings/issues/343","repository_url":"https://api.github.com/repos/typings/typings","labels_url":"https://api.github.com/repos/typings/typings/issues/343/labels{/name}","comments_url":"https://api.github.com/repos/typings/typings/issues/343/comments","events_url":"https://api.github.com/repos/typings/typings/issues/343/events","html_url":"https://github.com/typings/typings/issues/343","id":141366006,"number":343,"title":"Rename `ambient` usages to `global`","user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/typings/typings/labels/docs","name":"docs","color":"bfe5bf"},{"url":"https://api.github.com/repos/typings/typings/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/typings/typings/labels/typings:%20api","name":"typings: api","color":"bfdadc"},{"url":"https://api.github.com/repos/typings/typings/labels/typings:%20cli","name":"typings: cli","color":"bfd4f2"},{"url":"https://api.github.com/repos/typings/typings/labels/typings:%20core","name":"typings: core","color":"f7c6c7"},{"url":"https://api.github.com/repos/typings/typings/labels/typings:%20registry","name":"typings: registry","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/typings/typings/milestones/2","html_url":"https://github.com/typings/typings/milestones/Major%20Release","labels_url":"https://api.github.com/repos/typings/typings/milestones/2/labels","id":1588913,"number":2,"title":"Major Release","description":"","creator":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":2,"state":"open","created_at":"2016-02-17T16:51:31Z","updated_at":"2016-03-31T03:44:57Z","due_on":null,"closed_at":null},"comments":33,"created_at":"2016-03-16T18:45:35Z","updated_at":"2016-04-11T19:33:30Z","closed_at":null,"body":"Currently, \"ambient\" is used to describe type definitions that are implicitly in the project context via global types. These are typically referred to as \"non-external modules\" definitions as use `declare module '...'` or `declare var x` without an `import` or `export`. However, `--non-external-module` is a bit of a mouthful and Typings has used `--ambient` since inception to describe this.\r\n\r\nAs a result of this tweak, this change touches every level and all documentation. We will need to notify external parties, and will be a breaking change. Fixing this according to https://github.com/Microsoft/TypeScript-Handbook/issues/180 will make things clearer across the ecosystem. We just need consensus on what to name it.\r\n\r\n* `ambientDependencies` -> `globalDependencies`\r\n* `--ambient` -> `--global`\r\n* ...\r\n\r\nThe only possible confusion is probably `npm install --global`, but it should be ok."},"comment":{"url":"https://api.github.com/repos/typings/typings/issues/comments/208518571","html_url":"https://github.com/typings/typings/issues/343#issuecomment-208518571","issue_url":"https://api.github.com/repos/typings/typings/issues/343","id":208518571,"user":{"login":"unional","id":3254987,"avatar_url":"https://avatars.githubusercontent.com/u/3254987?v=3","gravatar_id":"","url":"https://api.github.com/users/unional","html_url":"https://github.com/unional","followers_url":"https://api.github.com/users/unional/followers","following_url":"https://api.github.com/users/unional/following{/other_user}","gists_url":"https://api.github.com/users/unional/gists{/gist_id}","starred_url":"https://api.github.com/users/unional/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unional/subscriptions","organizations_url":"https://api.github.com/users/unional/orgs","repos_url":"https://api.github.com/users/unional/repos","events_url":"https://api.github.com/users/unional/events{/privacy}","received_events_url":"https://api.github.com/users/unional/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T19:33:30Z","updated_at":"2016-04-11T19:33:30Z","body":"> It becomes UMD based on usage. If one is imported and the other isn't, it shouldn't conflict then.\r\n\r\nNot sure what you mean. How to determine the `export as namespace $` for one is imported or not?"}}