{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/275","repository_url":"https://api.github.com/repos/Urigo/angular2-meteor","labels_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/275/comments","events_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/275/events","html_url":"https://github.com/Urigo/angular2-meteor/issues/275","id":154932018,"number":275,"title":"Unable to import from typescript","user":{"login":"trajano","id":110627,"avatar_url":"https://avatars.githubusercontent.com/u/110627?v=3","gravatar_id":"","url":"https://api.github.com/users/trajano","html_url":"https://github.com/trajano","followers_url":"https://api.github.com/users/trajano/followers","following_url":"https://api.github.com/users/trajano/following{/other_user}","gists_url":"https://api.github.com/users/trajano/gists{/gist_id}","starred_url":"https://api.github.com/users/trajano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trajano/subscriptions","organizations_url":"https://api.github.com/users/trajano/orgs","repos_url":"https://api.github.com/users/trajano/repos","events_url":"https://api.github.com/users/trajano/events{/privacy}","received_events_url":"https://api.github.com/users/trajano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-15T21:41:11Z","updated_at":"2016-05-18T18:29:37Z","closed_at":null,"body":"Just changed one of my files from `.js` to `.ts`\r\n\r\nAfter that seems that templates cannot get imported nor `/` imports\r\n\r\n    imports/ui/components/meteorSample.component.ts (10, 25): Cannot find module './meteorSample.html'.\r\n    imports/ui/components/meteorSample.component.ts (12, 25): Cannot find module '/package.json'.\r\n\r\nFrom `meteorSample.component.ts` file that looks like this\r\n\r\n```ts\r\nimport { Component } from '@angular/core'\r\nimport templateUrl from './meteorSample.html'\r\n\r\nimport packageJson from '/package.json'\r\n\r\n@Component({\r\n  selector: 'meteor-sample',\r\n  templateUrl: templateUrl.default\r\n})\r\nexport class MeteorSampleComponent {\r\n  constructor () {\r\n    this.packageJson = packageJson\r\n  }\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/comments/220116818","html_url":"https://github.com/Urigo/angular2-meteor/issues/275#issuecomment-220116818","issue_url":"https://api.github.com/repos/Urigo/angular2-meteor/issues/275","id":220116818,"user":{"login":"trajano","id":110627,"avatar_url":"https://avatars.githubusercontent.com/u/110627?v=3","gravatar_id":"","url":"https://api.github.com/users/trajano","html_url":"https://github.com/trajano","followers_url":"https://api.github.com/users/trajano/followers","following_url":"https://api.github.com/users/trajano/following{/other_user}","gists_url":"https://api.github.com/users/trajano/gists{/gist_id}","starred_url":"https://api.github.com/users/trajano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trajano/subscriptions","organizations_url":"https://api.github.com/users/trajano/orgs","repos_url":"https://api.github.com/users/trajano/repos","events_url":"https://api.github.com/users/trajano/events{/privacy}","received_events_url":"https://api.github.com/users/trajano/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T18:29:37Z","updated_at":"2016-05-18T18:29:37Z","body":"Also can you make it so the there's a named export of `template`?"}}