{"action":"opened","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/24242","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/24242/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/24242/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/24242/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24242","id":304494407,"number":24242,"title":"@types/kcors incorrect type definition for origin option","user":{"login":"demisx","id":4452412,"avatar_url":"https://avatars3.githubusercontent.com/u/4452412?v=4","gravatar_id":"","url":"https://api.github.com/users/demisx","html_url":"https://github.com/demisx","followers_url":"https://api.github.com/users/demisx/followers","following_url":"https://api.github.com/users/demisx/following{/other_user}","gists_url":"https://api.github.com/users/demisx/gists{/gist_id}","starred_url":"https://api.github.com/users/demisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demisx/subscriptions","organizations_url":"https://api.github.com/users/demisx/orgs","repos_url":"https://api.github.com/users/demisx/repos","events_url":"https://api.github.com/users/demisx/events{/privacy}","received_events_url":"https://api.github.com/users/demisx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T18:43:43Z","updated_at":"2018-03-12T18:43:43Z","closed_at":null,"author_association":"NONE","body":"@Xstoudi Please correct me if I am wrong, but I believe the type definition for https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/kcors/index.d.ts#L14 should be:\r\n\r\n```ts\r\n  origin?: ((ctx: Koa.Context) => string) | string;\r\n```"}}
{"actor":{"display_login":"demisx"}}