{"action":"created","issue":{"url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/612","repository_url":"https://api.github.com/repos/slackapi/node-slack-sdk","labels_url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/612/comments","events_url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/612/events","html_url":"https://github.com/slackapi/node-slack-sdk/issues/612","id":349262890,"node_id":"MDU6SXNzdWUzNDkyNjI4OTA=","number":612,"title":"@slack/client incompatible with @types/bluebird@2.x","user":{"login":"igrayson","id":6943580,"node_id":"MDQ6VXNlcjY5NDM1ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/6943580?v=4","gravatar_id":"","url":"https://api.github.com/users/igrayson","html_url":"https://github.com/igrayson","followers_url":"https://api.github.com/users/igrayson/followers","following_url":"https://api.github.com/users/igrayson/following{/other_user}","gists_url":"https://api.github.com/users/igrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/igrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrayson/subscriptions","organizations_url":"https://api.github.com/users/igrayson/orgs","repos_url":"https://api.github.com/users/igrayson/repos","events_url":"https://api.github.com/users/igrayson/events{/privacy}","received_events_url":"https://api.github.com/users/igrayson/received_events","type":"User","site_admin":false},"labels":[{"id":866439030,"node_id":"MDU6TGFiZWw4NjY0MzkwMzA=","url":"https://api.github.com/repos/slackapi/node-slack-sdk/labels/area:typescript","name":"area:typescript","color":"f9b790","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-09T19:40:12Z","updated_at":"2018-08-13T07:57:43Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nIf a typescript project is using `@types/bluebird@2.0.33`, it cannot use `@slack/client`.\r\n\r\n### What type of issue is this? (place an `x` in one of the `[ ]`)\r\n- [x] bug\r\n- [ ] enhancement (feature request)\r\n- [ ] question\r\n- [ ] documentation related\r\n- [ ] testing related\r\n- [ ] discussion\r\n\r\n### Requirements (place an `x` in each of the `[ ]`)\r\n* [x] I've read and understood the [Contributing guidelines](https://github.com/slackapi/node-slack-sdk/blob/master/.github/contributing.md) and have done my best effort to follow them.\r\n* [x] I've read and agree to the [Code of Conduct](https://slackhq.github.io/code-of-conduct).\r\n* [x] I've searched for any related issues and avoided creating a duplicate issue.\r\n\r\n---\r\n\r\n### Bug Report\r\n\r\nFilling out the following details about bugs will help us solve your issue sooner.\r\n\r\n#### Reproducible in:\r\n\r\n`@slack/client` version: 4.3.1\r\n\r\nnode version: 8.9.1\r\n\r\nOS version(s):\r\n\r\n#### Steps to reproduce:\r\n\r\n```bash\r\n$ mkdir demo && cd demo\r\n$ npm install typescript@3.0.1 @types/bluebird@2.0.33 @slack/client@4.3.1\r\n$ touch index.ts\r\n$ tsc --lib es2017 index.ts\r\nnode_modules/@types/p-cancelable/index.d.ts:10:11 - error TS2430: Interface 'PCancelableConstructor' incorrectly extends interface 'PromiseConstructor'.\r\n  Types of property 'prototype' are incompatible.\r\n    Type 'PCancelable<any>' is not assignable to type 'Promise<any>'.\r\n      Types of property 'cancel' are incompatible.\r\n        Type '() => void' is not assignable to type '<U>(reason?: any) => Promise<U>'.\r\n          Type 'void' is not assignable to type 'Promise<U>'.\r\n\r\n10 interface PCancelableConstructor extends PromiseConstructor {\r\n             ~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nnode_modules/@types/p-cancelable/index.d.ts:18:15 - error TS2430: Interface 'PCancelable<T>' incorrectly extends interface 'Promise<T>'.\r\n  Types of property 'cancel' are incompatible.\r\n    Type '() => void' is not assignable to type '<U>(reason?: any) => Promise<U>'.\r\n      Type 'void' is not assignable to type 'Promise<U>'.\r\n\r\n18     interface PCancelable<T> extends Promise<T> {\r\n                 ~~~~~~~~~~~\r\n```\r\n#### Expected result:\r\n\r\ncompiles\r\n\r\n#### Actual result:\r\n\r\ndoesn't compile"},"comment":{"url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/comments/412437619","html_url":"https://github.com/slackapi/node-slack-sdk/issues/612#issuecomment-412437619","issue_url":"https://api.github.com/repos/slackapi/node-slack-sdk/issues/612","id":412437619,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQzNzYxOQ==","user":{"login":"aoberoi","id":494795,"node_id":"MDQ6VXNlcjQ5NDc5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/494795?v=4","gravatar_id":"","url":"https://api.github.com/users/aoberoi","html_url":"https://github.com/aoberoi","followers_url":"https://api.github.com/users/aoberoi/followers","following_url":"https://api.github.com/users/aoberoi/following{/other_user}","gists_url":"https://api.github.com/users/aoberoi/gists{/gist_id}","starred_url":"https://api.github.com/users/aoberoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoberoi/subscriptions","organizations_url":"https://api.github.com/users/aoberoi/orgs","repos_url":"https://api.github.com/users/aoberoi/repos","events_url":"https://api.github.com/users/aoberoi/events{/privacy}","received_events_url":"https://api.github.com/users/aoberoi/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T07:57:43Z","updated_at":"2018-08-13T07:57:43Z","author_association":"MEMBER","body":"@freezy i'm fairly certain that the solution to your problem would be to include the `esnext.asynciterable` value in the `lib` option.\r\n\r\nthis is a new requirement since the v4.4.0 release, so thanks for catching it! i'm not sure how to document this appropriately, but i'll create a new issue to capture the need. "}}
{"actor":{"display_login":"aoberoi"}}