{"action":"opened","issue":{"url":"https://api.github.com/repos/niksy/throttle-debounce/issues/14","repository_url":"https://api.github.com/repos/niksy/throttle-debounce","labels_url":"https://api.github.com/repos/niksy/throttle-debounce/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/niksy/throttle-debounce/issues/14/comments","events_url":"https://api.github.com/repos/niksy/throttle-debounce/issues/14/events","html_url":"https://github.com/niksy/throttle-debounce/issues/14","id":331351836,"node_id":"MDU6SXNzdWUzMzEzNTE4MzY=","number":14,"title":"Typescript typings do not work properly","user":{"login":"plee-nm","id":25302056,"node_id":"MDQ6VXNlcjI1MzAyMDU2","avatar_url":"https://avatars0.githubusercontent.com/u/25302056?v=4","gravatar_id":"","url":"https://api.github.com/users/plee-nm","html_url":"https://github.com/plee-nm","followers_url":"https://api.github.com/users/plee-nm/followers","following_url":"https://api.github.com/users/plee-nm/following{/other_user}","gists_url":"https://api.github.com/users/plee-nm/gists{/gist_id}","starred_url":"https://api.github.com/users/plee-nm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plee-nm/subscriptions","organizations_url":"https://api.github.com/users/plee-nm/orgs","repos_url":"https://api.github.com/users/plee-nm/repos","events_url":"https://api.github.com/users/plee-nm/events{/privacy}","received_events_url":"https://api.github.com/users/plee-nm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T21:11:22Z","updated_at":"2018-06-11T21:11:22Z","closed_at":null,"author_association":"NONE","body":"The typings that were added in 2.0 now can cause compiler errors in typescript projects.\r\n\r\n```\r\nthrottle(300, function () {\r\n    // Throttled function\r\n}); \r\n```\r\n\r\n`TS2345: Argument of type '() => void' is not assignable to parameter of type 'boolean'.`\r\n\r\n"}}
{"actor":{"display_login":"plee-nm"}}