{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23547","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23547/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23547/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23547/events","html_url":"https://github.com/Microsoft/TypeScript/issues/23547","id":316041243,"number":23547,"title":"ES6 import paths starting with \"/\" should be relative to the web root, not filesystem","user":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"labels":[{"id":113971226,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Duplicate","name":"Duplicate","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-19T21:07:38Z","updated_at":"2018-04-30T20:01:29Z","closed_at":null,"author_association":"COLLABORATOR","body":"_From @rconnamacher on April 19, 2018 1:45_\n\n<!-- Do you have a question? Please ask it on https://stackoverflow.com/questions/tagged/vscode. -->\r\n\r\n<!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.22.2\r\n- OS Version: macOS 10.13.4\r\n\r\nIn an ES6-native project (using web browser module resolution), all module paths must begin with \".\" or \"/\", and paths starting with \"/\" are relative to the root of the web server that's serving them.\r\n\r\nHowever, Visual Studio Code interprets all paths starting with \"/\" as relative to the _filesystem root_. So if you type `import \"/`, it will begin autocompleting such root filesystem directories as \"/dev\", \"/etc\", \"/usr\", etc. And once entered, Code has no idea where such files as `import App from \"/src/js/App.js\"` are located.\r\n\r\nI've tried setting the `rootDir` and `baseUrl` parameters in this project's `jsconfig.json`, but it does not appear to make any difference.\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n\n\n_Copied from original issue: Microsoft/vscode#48168_"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/385511731","html_url":"https://github.com/Microsoft/TypeScript/issues/23547#issuecomment-385511731","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23547","id":385511731,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars3.githubusercontent.com/u/8000722?v=4","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T20:01:29Z","updated_at":"2018-04-30T20:01:29Z","author_association":"CONTRIBUTOR","body":"Seems like a duplicate of #13730"}}
{"actor":{"display_login":"mhegazy"}}