{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/binding/issues/308","repository_url":"https://api.github.com/repos/aurelia/binding","labels_url":"https://api.github.com/repos/aurelia/binding/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/binding/issues/308/comments","events_url":"https://api.github.com/repos/aurelia/binding/issues/308/events","html_url":"https://github.com/aurelia/binding/issues/308","id":131620514,"number":308,"title":"Export Listener class","user":{"login":"heruan","id":851745,"avatar_url":"https://avatars.githubusercontent.com/u/851745?v=3","gravatar_id":"","url":"https://api.github.com/users/heruan","html_url":"https://github.com/heruan","followers_url":"https://api.github.com/users/heruan/followers","following_url":"https://api.github.com/users/heruan/following{/other_user}","gists_url":"https://api.github.com/users/heruan/gists{/gist_id}","starred_url":"https://api.github.com/users/heruan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heruan/subscriptions","organizations_url":"https://api.github.com/users/heruan/orgs","repos_url":"https://api.github.com/users/heruan/repos","events_url":"https://api.github.com/users/heruan/events{/privacy}","received_events_url":"https://api.github.com/users/heruan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-05T11:36:38Z","updated_at":"2016-02-09T02:16:51Z","closed_at":"2016-02-09T02:16:51Z","body":"The `Listener` class defined in [listener-expression.js](https://github.com/aurelia/binding/blob/master/src/listener-expression.js#L25) is not exported from the package (at least in the `.d.ts` file).\r\n\r\nSince `Listener` is the type of the first argument for the `bind()` methods of a custom Binding Behavior, in a TypeScript project would be useful to type the argument, but the class is not exported.\r\n\r\nWould it be possibile to export it (and maybe `ListenerExpression` and other classes which may be useful for building new bindings)?"},"comment":{"url":"https://api.github.com/repos/aurelia/binding/issues/comments/181672091","html_url":"https://github.com/aurelia/binding/issues/308#issuecomment-181672091","issue_url":"https://api.github.com/repos/aurelia/binding/issues/308","id":181672091,"user":{"login":"jdanyow","id":1306747,"avatar_url":"https://avatars.githubusercontent.com/u/1306747?v=3","gravatar_id":"","url":"https://api.github.com/users/jdanyow","html_url":"https://github.com/jdanyow","followers_url":"https://api.github.com/users/jdanyow/followers","following_url":"https://api.github.com/users/jdanyow/following{/other_user}","gists_url":"https://api.github.com/users/jdanyow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanyow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanyow/subscriptions","organizations_url":"https://api.github.com/users/jdanyow/orgs","repos_url":"https://api.github.com/users/jdanyow/repos","events_url":"https://api.github.com/users/jdanyow/events{/privacy}","received_events_url":"https://api.github.com/users/jdanyow/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T02:16:50Z","updated_at":"2016-02-09T02:16:50Z","body":"Hi @heruan- use `Binding`: https://github.com/aurelia/binding/blob/master/src/aurelia-binding.d.ts#L212\r\n\r\nits the interface that the different binding instance classes implement (Listener, Name, Binding, Call, etc)."}}