{"action":"closed","issue":{"url":"https://api.github.com/repos/ember-decorators/argument/issues/65","repository_url":"https://api.github.com/repos/ember-decorators/argument","labels_url":"https://api.github.com/repos/ember-decorators/argument/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ember-decorators/argument/issues/65/comments","events_url":"https://api.github.com/repos/ember-decorators/argument/issues/65/events","html_url":"https://github.com/ember-decorators/argument/issues/65","id":316445700,"node_id":"MDU6SXNzdWUzMTY0NDU3MDA=","number":65,"title":"Does not work with TypeScript","user":{"login":"alexlafroscia","id":1645881,"node_id":"MDQ6VXNlcjE2NDU4ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/1645881?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlafroscia","html_url":"https://github.com/alexlafroscia","followers_url":"https://api.github.com/users/alexlafroscia/followers","following_url":"https://api.github.com/users/alexlafroscia/following{/other_user}","gists_url":"https://api.github.com/users/alexlafroscia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlafroscia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlafroscia/subscriptions","organizations_url":"https://api.github.com/users/alexlafroscia/orgs","repos_url":"https://api.github.com/users/alexlafroscia/repos","events_url":"https://api.github.com/users/alexlafroscia/events{/privacy}","received_events_url":"https://api.github.com/users/alexlafroscia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-21T00:28:42Z","updated_at":"2018-09-19T21:02:47Z","closed_at":"2018-09-19T21:02:47Z","author_association":"NONE","body":"I'm running into an issue where the decorators are not compatible with the way that property decorators work in TypeScript.\r\n\r\nIf you check out the [decorators documentation](http://www.typescriptlang.org/docs/handbook/decorators.html), there's a relevant bit here:\r\n\r\n> A Property Descriptor is not provided as an argument to a property decorator due to how property decorators are initialized in TypeScript. \r\n\r\nOriginally, I modified the validation decorator to ignore `desc` if it did not exist, but this forces the property to become immutable because there's no way to set `desc.writable`. Not sure if there's a good solution here, but I figured it was worth keeping track of since the `@ember-decorators` libraries are a very useful when working with TypeScript."}}
{"actor":{"display_login":"pzuraq"}}