{"action":"created","issue":{"url":"https://api.github.com/repos/marudor/flowInterfaces/issues/17","repository_url":"https://api.github.com/repos/marudor/flowInterfaces","labels_url":"https://api.github.com/repos/marudor/flowInterfaces/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/marudor/flowInterfaces/issues/17/comments","events_url":"https://api.github.com/repos/marudor/flowInterfaces/issues/17/events","html_url":"https://github.com/marudor/flowInterfaces/issues/17","id":145680327,"number":17,"title":"bluebird: rename Promise class to BluebirdPromise","user":{"login":"coot","id":698209,"avatar_url":"https://avatars.githubusercontent.com/u/698209?v=3","gravatar_id":"","url":"https://api.github.com/users/coot","html_url":"https://github.com/coot","followers_url":"https://api.github.com/users/coot/followers","following_url":"https://api.github.com/users/coot/following{/other_user}","gists_url":"https://api.github.com/users/coot/gists{/gist_id}","starred_url":"https://api.github.com/users/coot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coot/subscriptions","organizations_url":"https://api.github.com/users/coot/orgs","repos_url":"https://api.github.com/users/coot/repos","events_url":"https://api.github.com/users/coot/events{/privacy}","received_events_url":"https://api.github.com/users/coot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-04T13:12:13Z","updated_at":"2016-04-08T13:13:53Z","closed_at":"2016-04-05T07:22:35Z","body":"Promise class is the ES6 Promise, it would be better to use a distinct class name for bluebird promise type."},"comment":{"url":"https://api.github.com/repos/marudor/flowInterfaces/issues/comments/207426446","html_url":"https://github.com/marudor/flowInterfaces/issues/17#issuecomment-207426446","issue_url":"https://api.github.com/repos/marudor/flowInterfaces/issues/17","id":207426446,"user":{"login":"despairblue","id":927609,"avatar_url":"https://avatars.githubusercontent.com/u/927609?v=3","gravatar_id":"","url":"https://api.github.com/users/despairblue","html_url":"https://github.com/despairblue","followers_url":"https://api.github.com/users/despairblue/followers","following_url":"https://api.github.com/users/despairblue/following{/other_user}","gists_url":"https://api.github.com/users/despairblue/gists{/gist_id}","starred_url":"https://api.github.com/users/despairblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despairblue/subscriptions","organizations_url":"https://api.github.com/users/despairblue/orgs","repos_url":"https://api.github.com/users/despairblue/repos","events_url":"https://api.github.com/users/despairblue/events{/privacy}","received_events_url":"https://api.github.com/users/despairblue/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T13:13:53Z","updated_at":"2016-04-08T13:13:53Z","body":"@marudor Having BluebirdPromise seems to be cleaner, but now we have to cast the BluebirdPromise into Promise whenever we use it with a method that declares that it uses `Promise`:\r\n\r\n```js\r\nconst bluebird = require('bluebird')\r\n\r\nmodule.exports = function (obj: Object) : Promise<Object> {\r\n  return Promise.resolve(bluebird.props(obj))\r\n}\r\n```\r\n\r\nIs there a way to tell flow that a `BluebirdPromise` is a superset of a `Promise`?"}}