Ron Buckton
Ron Buckton
I'm running into this as well and tried the `"nohoist"` workaround. Unfortunately, "nohoist" is not allowed in public packages in yarn, so it would need to be added to the...
The minimum prerelease version is `-0`, so `>4.9.0-0` might be what you want.
> > Thank you for the PR. Would you be able to also rewrite the `index.d.ts` file to use the `declare class Gamedig` and `export = Gamedig` syntax, like in...
Ah, it should be treating `
Isn't `string` the only non-object iterable (if you exclude future tuples)? Would it make sense to have `flatMap` only flatten _object_ iterables? You could still return a `[..."foo"]` if you...
Also, I certainly wouldn't want to exclude iterables here. I just wonder if the behavior of `flatMap` shouldn't be like `Iterator.from()`, where you could return an iterable *or* a user-defined...
> Isn't `string` the only non-object iterable (if you exclude future tuples)? Would it make sense to have `flatMap` only flatten _object_ iterables? I just saw https://github.com/tc39/proposal-iterator-helpers/issues/55#issuecomment-541257212, but I'm not...
> @zloirock Yes we could support other primitives, but it gets more murky. What would the algorithm be? If it's an object, assume it's thenable, otherwise ToBoolean it? It would...
I will point out that having a fast path is dangerously close to ["releasing Zalgo"](https://blog.izs.me/2013/08/designing-apis-for-asynchrony/). My original question was more to whether the result returned from the callback to `filter`...
Also, to my point about "releasing Zalgo", there is still an `await` that occurs *prior* to evaluating the filter callback (awaiting the result of `next()`), as well as an `await`...