Charles Pick

Results 105 comments of Charles Pick

@mull - flow-runtime can do that, as @gcanti says, but it's a little awkward - you have to run `flow-runtime generate ./src > ./src/typdefs.js` and then include `typedefs.js` at the...

@tavantzo i'm no longer using this library, but if you'd like to fix the issue I'd definitely accept a PR, thanks!

Github tells us there are 1.3m repos using prettier, if anyone was motivated enough we could scrape that list of packages and find out: 1. The percentage of packages which...

I think semver is a bit of a red herring here because a lot of prettier's usage comes from IDE integrations and extensions which auto update. Those users are going...

I've been using a syntax that's basically identical to `@returns` ``` js /** * @promise {Boolean} true if some condition is true */ ``` If it's necessary to document the...

@cowoc I actually agree that `@rejects` is not ideal, do you have any other suggestions?

I'm not sure why we'd need to change anything for `@param` at all, if it's a promise it would look like: ``` js /** * @param {Promise} p a promise....

@narqo how is a promise different to any other object which may encapsulate a value? How do you indicate the contents of a collection object for instance?

@kennknowles it's a common enough pattern that it warrants its own tag. I think a lot of the points here, especially regarding using `@typedef`, miss the point - that if...

@kennknowles sure, being able to do it the more verbose way as well would be great, using `@promise` is just sugar for the same thing. I think we all benefit...