{"action":"opened","issue":{"url":"https://api.github.com/repos/Draccoz/twc/issues/39","repository_url":"https://api.github.com/repos/Draccoz/twc","labels_url":"https://api.github.com/repos/Draccoz/twc/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/Draccoz/twc/issues/39/comments","events_url":"https://api.github.com/repos/Draccoz/twc/issues/39/events","html_url":"https://github.com/Draccoz/twc/issues/39","id":198226908,"number":39,"title":"Working with imported behaviors","user":{"login":"tpluscode","id":588128,"avatar_url":"https://avatars.githubusercontent.com/u/588128?v=3","gravatar_id":"","url":"https://api.github.com/users/tpluscode","html_url":"https://github.com/tpluscode","followers_url":"https://api.github.com/users/tpluscode/followers","following_url":"https://api.github.com/users/tpluscode/following{/other_user}","gists_url":"https://api.github.com/users/tpluscode/gists{/gist_id}","starred_url":"https://api.github.com/users/tpluscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpluscode/subscriptions","organizations_url":"https://api.github.com/users/tpluscode/orgs","repos_url":"https://api.github.com/users/tpluscode/repos","events_url":"https://api.github.com/users/tpluscode/events{/privacy}","received_events_url":"https://api.github.com/users/tpluscode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-31T10:14:02Z","updated_at":"2016-12-31T10:14:02Z","closed_at":null,"body":"In my polymerTS code I export a shared behavior and then import it for elements that need it:\r\n\r\nMyBehavior.ts\r\n``` ts\r\nexport MyBehavior { }\r\n```\r\n\r\nMyElement.ts\r\n``` ts\r\nimport MyBehavior from 'MyBehavior';\r\n\r\n@behavior(MyBehavior)\r\nexport MyElement extends polymer.Base {\r\n}\r\n```\r\n\r\nNow, when I `twc MyElement.ts` I get something like\r\n\r\n``` js\r\nPolymer(\r\n  behaviors: [ MyBehavior1.MyBehavior ]\r\n);\r\n```\r\n\r\nbut the `MyBehavior1.MyBehavior` is not emitted anywhere. `MyBehavior.ts` is also not emitted.\r\n\r\nIs there a way to support this scenario currently? I think it's actually a bigger case here, where one would want to organize their code in smaller internal modules."}}
{"actor":{"display_login":"tpluscode"}}