Basil Hosmer

Results comments of Basil Hosmer

Async/await support added in v0.12.

Awesome! This calls for a celebratory firestorm of commits.

Hi! Yeah, the confusion here is around class vs. instance: DiffMatchPatch, as a type annotation, is the type of instances, not the type of the class value (i.e., the factory...

...and you're right, `constructor` should be mentioned in the class docs. :)

Hi, thanks for noting this! Adding refinements based on `Object.prototype.toString.call` as a feature request. As an aside, note that it's unlikely Flow will acquire the ability a) detect the test...

Hi @danvk, just wanted to confirm that you're right in the original example - with the right analysis we could verify that `n` would keep its refinement for any possible...

@samwgoldman just recapping from IRC: 1. Yes, you're absolutely right. This is a case where a refinement on a const isn't guaranteed to hold throughout an entire program run. 2....

Hi @cyounkins - the big general issue with refining the types of object properties is aliasing - people outside the function might be holding a reference to `opts` and so...

Definitely a known issue. :) Thanks!

Hi @gcanti - per @samwgoldman this is on the todo list. Thanks!