pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:JavaScript language:TypeScript
Filter by
15.1k results
insindresorhus (press backspace or delete to remove)Fixes #1219
Summary
- Ignore a singular inherited stdin source when input or inputFile is provided, so explicit input becomes the only
stdin source.
- Preserve explicit multi-source stdin arrays ...
- Adds ImageDimensions and exports it in index.d.ts
The README.md wasn t updated to use this new type since I figured you wanted to make the object properties visible, but
that might be warranted.
This is an independent contribution and is not part of any organized competition or hackathon.
Summary: Adds the built-in TypeScript NoInfer T utility type (TS 5.4+) to IsNullable and IsOptional types, ...
The documented usage of TaggedUnion,
type Tagged Fields extends Record string, unknown = TaggedUnion type , Fields ;
failed to compile with: Type Fields does not satisfy the constraint Record string, ...
This PR adds pause(), resume() and isPaused properties to the concurrency limit function. This allows developers to
temporarily halt the execution of queued tasks (while currently executing tasks run to ...
Summary
Exports internal types from type-fest/source/internal to make them publicly accessible. This fixes issue #676.
Changes
- Export FirstArrayElement from ./source/internal/array.d.ts
- Export ...
Summary
This PR adds TypeScript s built-in NoInfer utility type to type parameters that should not serve as inference sites,
preventing unwanted type inference in generic function contexts.
Changes
...
Fixes #132.
When the extension detects it is offline, it currently waits for the next alarm before checking again. This registers an
online listener so the background script retries immediately when the ...
I have the feeling this will create some controversy, but hear me out. I m fully aware that ignoring a dirty git state
can introduce some unwanted behaviour; files that are not tracked could still end ...
Summary
- add online/offline connection listeners so the extension can react immediately when network state changes
- treat API network error as an offline condition and render the offline warning ...