{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11027","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11027/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11027/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11027/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11027","id":175056069,"number":11027,"title":"bluebird 3.0 definifion is not assignable to ES6 Promises","user":{"login":"Strate","id":392644,"avatar_url":"https://avatars.githubusercontent.com/u/392644?v=3","gravatar_id":"","url":"https://api.github.com/users/Strate","html_url":"https://github.com/Strate","followers_url":"https://api.github.com/users/Strate/followers","following_url":"https://api.github.com/users/Strate/following{/other_user}","gists_url":"https://api.github.com/users/Strate/gists{/gist_id}","starred_url":"https://api.github.com/users/Strate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strate/subscriptions","organizations_url":"https://api.github.com/users/Strate/orgs","repos_url":"https://api.github.com/users/Strate/repos","events_url":"https://api.github.com/users/Strate/events{/privacy}","received_events_url":"https://api.github.com/users/Strate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-09-05T11:56:05Z","updated_at":"2016-10-02T14:41:25Z","closed_at":"2016-09-07T11:57:12Z","body":"The bluebird 3.0 definition is not assignable to standard es6 Promise definition:\r\n```ts\r\nTypes of property 'then' are incompatible.\r\nType 'Bluebird<any>' is not assignable to type 'Promise<any>'.\r\n```\r\n /cc @lhecker "},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/250974641","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/11027#issuecomment-250974641","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11027","id":250974641,"user":{"login":"jmendiara","id":851359,"avatar_url":"https://avatars.githubusercontent.com/u/851359?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendiara","html_url":"https://github.com/jmendiara","followers_url":"https://api.github.com/users/jmendiara/followers","following_url":"https://api.github.com/users/jmendiara/following{/other_user}","gists_url":"https://api.github.com/users/jmendiara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendiara/subscriptions","organizations_url":"https://api.github.com/users/jmendiara/orgs","repos_url":"https://api.github.com/users/jmendiara/repos","events_url":"https://api.github.com/users/jmendiara/events{/privacy}","received_events_url":"https://api.github.com/users/jmendiara/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T14:41:25Z","updated_at":"2016-10-02T14:41:25Z","body":"Trying to cast the Bluebird Promise to an ES6 promise throws the following (`promise as Promise<Db>`)\r\n```\r\n[ts] Type 'Bluebird<Db>' cannot be converted to type 'Promise<Db>'.\r\n  Types of property 'then' are incompatible.\r\n    Type '{ <U1, U2>(onFulfill: (value: Db) => U1 | Thenable<U1>, onReject: (error: any) => U2 | Thenable<U...' is not comparable to type '{ <TResult1, TResult2>(onfulfilled: (value: Db) => TResult1 | PromiseLike<TResult1>, onrejected: ...'.\r\n      Type 'Bluebird<any>' is not comparable to type 'Promise<any>'.\r\n        Property '[Symbol.toStringTag]' is missing in type 'Bluebird<any>'.\r\n```"}}
{"actor":{"display_login":"jmendiara"}}