question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

flow 0.55.0 issues with `bluebird`

See original GitHub issue

After upgrading to Flow 0.55.0, bluebird now complains about:

[No file]:0
inconsistent use of library definitions
     v-----------------------------------------------------
 53: declare class Bluebird$Promise<+R> extends Promise<R>{
 54:   static Defer: Class<Bluebird$Defer>;
 55:   static PromiseInspection: Class<Bluebird$PromiseInspection<*>>;
...:
202: }
     ^ Bluebird$Promise. Covariant property `bind` incompatible with invariant use in. See lib: flow-typed/npm/bluebird_v3.x.x.js:53
     v-----------------------------------------------------
 53: declare class Bluebird$Promise<+R> extends Promise<R>{
 54:   static Defer: Class<Bluebird$Defer>;
 55:   static PromiseInspection: Class<Bluebird$PromiseInspection<*>>;
...:
202: }
     ^ Function. See lib: flow-typed/npm/bluebird_v3.x.x.js:53

[No file]:0
inconsistent use of library definitions
136:   static bind(ctx: any): Bluebird$Promise<void>;
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. This type is incompatible with. See lib: flow-typed/npm/bluebird_v3.x.x.js:136
 98:     bind: Function$Prototype$Bind; // (thisArg: any, ...argArray: Array<any>) => any;
               ^^^^^^^^^^^^^^^^^^^^^^^ function type. See lib: /private/tmp/flow/flowlib_24bda01a/core.js:98

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:15
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
sportocommented, Sep 26, 2017

133 static bind(ctx: any): Bluebird$Promise<void>;

3reactions
philipp-sorincommented, Jan 4, 2018

4 months had been passed but issue still exists? Anyone want to do anything with it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regression: Unable to override statics of class · Issue #4953
I ran into this problem a while back and due to this problem we're still stuck at flow-bin 0.54.1. From @jcready 's previous...
Read more >
Bluebird down? Current problems and outages - Downdetector
Real-time problems and outages for Bluebird. Can't check you balance? Transfers not working? Here you see what is going on.
Read more >
packupandrun - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix ...
Read more >
Des 1801500 CE-4 Appendix F Water Resources - IN.gov
Project Description: Des 1801500 includes the construction of 2 two-lane roundabouts and roadway widening to a.
Read more >
PorCu.txt - USGS Publications Repository
21–23): Resource Geology Special Issue No. ... sericite" 235 "breccia, granodiorite porphyry" "andesite agglomerate, andesite flow, andesite porphyry, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found