{"action":"opened","issue":{"url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/391","repository_url":"https://api.github.com/repos/ivogabe/gulp-typescript","labels_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/391/comments","events_url":"https://api.github.com/repos/ivogabe/gulp-typescript/issues/391/events","html_url":"https://github.com/ivogabe/gulp-typescript/issues/391","id":170367156,"number":391,"title":"cant import class instead of interface","user":{"login":"phonic","id":9391939,"avatar_url":"https://avatars.githubusercontent.com/u/9391939?v=3","gravatar_id":"","url":"https://api.github.com/users/phonic","html_url":"https://github.com/phonic","followers_url":"https://api.github.com/users/phonic/followers","following_url":"https://api.github.com/users/phonic/following{/other_user}","gists_url":"https://api.github.com/users/phonic/gists{/gist_id}","starred_url":"https://api.github.com/users/phonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phonic/subscriptions","organizations_url":"https://api.github.com/users/phonic/orgs","repos_url":"https://api.github.com/users/phonic/repos","events_url":"https://api.github.com/users/phonic/events{/privacy}","received_events_url":"https://api.github.com/users/phonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-10T09:02:36Z","updated_at":"2016-08-10T09:02:36Z","closed_at":null,"body":"I can't import a class from its defintion, it results in an error when I try to compile it:\r\n\r\nbaseClassFile.ts:\r\n`export class BaseClass {\r\n    \r\n}`\r\n\r\nchildClassFile.ts:\r\n`import { BaseClass } from '../baseClassFile';\r\n\r\nexport class ChildClass extends BaseClass {`\r\n\r\nthis getting me the error \"Error: module \"[...]\" not found from \"[...]fake_b365efc3.js\"\"\r\n\r\nbut when I change the definition of BaseClass to an interface:\r\n\r\n`export interface BaseClass {\r\n    \r\n}`\r\n\r\nthe error is gone?! Whats wrong here?"}}
{"actor":{"display_login":"phonic"}}