{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue-class-component/issues/297","repository_url":"https://api.github.com/repos/vuejs/vue-class-component","labels_url":"https://api.github.com/repos/vuejs/vue-class-component/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-class-component/issues/297/comments","events_url":"https://api.github.com/repos/vuejs/vue-class-component/issues/297/events","html_url":"https://github.com/vuejs/vue-class-component/issues/297","id":390506454,"node_id":"MDU6SXNzdWUzOTA1MDY0NTQ=","number":297,"title":"How are types added to registered hook?","user":{"login":"ksnyde","id":980757,"node_id":"MDQ6VXNlcjk4MDc1Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/980757?v=4","gravatar_id":"","url":"https://api.github.com/users/ksnyde","html_url":"https://github.com/ksnyde","followers_url":"https://api.github.com/users/ksnyde/followers","following_url":"https://api.github.com/users/ksnyde/following{/other_user}","gists_url":"https://api.github.com/users/ksnyde/gists{/gist_id}","starred_url":"https://api.github.com/users/ksnyde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksnyde/subscriptions","organizations_url":"https://api.github.com/users/ksnyde/orgs","repos_url":"https://api.github.com/users/ksnyde/repos","events_url":"https://api.github.com/users/ksnyde/events{/privacy}","received_events_url":"https://api.github.com/users/ksnyde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T03:48:28Z","updated_at":"2018-12-13T03:48:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am trying to use NUXT with Typescript and really want the class based syntax this module provides but when I looked into the `nuxt-class-components` modules I saw they were mainly just adding lifecycle hooks via your `registerHooks` but then I'm not getting any type information from those hooks which is a shame.\r\n\r\nI think it would be nice to state in the documentation how one can achieve this."}}
{"actor":{"display_login":"ksnyde"}}