Pedro Augusto de Paula Barbosa
Pedro Augusto de Paula Barbosa
Closes #31 Note: this PR also currently includes a bug fix for an edge case, see below. *edit:* no longer true, moved to #40
I wish I could stop the iteration early by returning something like `pMap.stop` (a Symbol) from the iterator. This is basically the same request as https://github.com/sindresorhus/p-each-series/issues/3 For now, I have...
I would like to perform an assertion such as: ```ts import {assert} from '@sindresorhus/is'; assert.optionalString(foo); // `foo` is narrowed to `string | undefined` now ``` The call signature itself may...
I don't have admin rights, but I already have Visual Studio 2017 installed and usable in my computer. However, node-gyp cannot find it for some reason. Can windows-build-tools help me...
Directly from the example from readme: ```ts (async () => { for await (const path of globby.stream('*.tmp')) { console.log(path); // TypeScript says `path` is `string | Buffer` } })(); ```...
* Code: `picomatch('[1-5]')('[1-5]')` * Expected result: `false` * Actual result: `true` Apparently this mistake is caused explicitly: https://github.com/micromatch/picomatch/blob/4a510d7fd7a3037efaf54786e5fe2b553cdc657a/lib/picomatch.js#L128 Why? This should not match. Please remove this check. As a workaround,...
XO infers rules from prettier in a way that I don't think is the best. [From readme](https://github.com/xojs/xo#prettier): > ### prettier > > [...] > > [...] and if **not set**...
Steps to reproduce: 1. `mkdir temp && cd temp && npm init -y` 2. `npm i -D xo typescript` 3. Create file `a.ts`: ```ts export type T = { [key:...
## Bug # CodePen and steps to reproduce the issue: #### CodePen which demonstrates the issue: [YJZyyE](https://codepen.io/anon/pen/YJZyyE?editors=1010) #### Detailed Reproduction Steps:  1. Open the md-dialog 2. Click...
I am having a really hard time trying to understand how IstanbulJS really works, even from a macroscopic perspective. Where are the docs for the inner workings of IstanbulJS? I...