{"action":"opened","issue":{"url":"https://api.github.com/repos/aurelia/dialog/issues/110","repository_url":"https://api.github.com/repos/aurelia/dialog","labels_url":"https://api.github.com/repos/aurelia/dialog/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/dialog/issues/110/comments","events_url":"https://api.github.com/repos/aurelia/dialog/issues/110/events","html_url":"https://github.com/aurelia/dialog/issues/110","id":139922001,"number":110,"title":"Typescript typings incorrect for DialogController.ok() and cancel()","user":{"login":"richtea","id":220517,"avatar_url":"https://avatars.githubusercontent.com/u/220517?v=3","gravatar_id":"","url":"https://api.github.com/users/richtea","html_url":"https://github.com/richtea","followers_url":"https://api.github.com/users/richtea/followers","following_url":"https://api.github.com/users/richtea/following{/other_user}","gists_url":"https://api.github.com/users/richtea/gists{/gist_id}","starred_url":"https://api.github.com/users/richtea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richtea/subscriptions","organizations_url":"https://api.github.com/users/richtea/orgs","repos_url":"https://api.github.com/users/richtea/repos","events_url":"https://api.github.com/users/richtea/events{/privacy}","received_events_url":"https://api.github.com/users/richtea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-10T15:28:44Z","updated_at":"2016-03-10T15:28:44Z","closed_at":null,"body":"It seems that the current [aurelia-dialog.d.ts](https://github.com/aurelia/dialog/blob/master/dist/aurelia-dialog.d.ts) file is incorrect for the `ok()` and `cancel()` functions. The definitions in Javascript were recently changed in commit 7ac0be86d7a98964d8c30f27e3669004549d93d5 to accept an `any` type; however the type definitions file hasn't been updated accordingly. \r\n\r\nI'm happy to submit a PR if required.\r\n"}}