-
`trash()` throws the following error when using Next.js on Windows: `TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received an instance of URL at …
-
This thread shows that it's a widely required feature:
https://twitter.com/sindresorhus/status/979363460411609091
Example of a workaround: Open https://tobireif.com/ and (eg using dev tools respon…
-
Say I have:
```
type T = 'one' | 'two' | 'three'
```
It would be great to generate a type, `E` that requires all union values, which in this case would be something like this but without enforci…
-
`Modify` is like `Merge`, but it allows you to remove properties from the resulting type if you define that property in the `Source` with type `never`.
See this playground, it will explain everythi…
-
*This version is probably a year out. Just opening this issue to plan.*
- [ ] Move to ESM.
- [ ] Target the current TypeScript version minus 1.
- [ ] Should we make the `preserveConsecutiveUpperc…
-
Following the hint made by @fregante in #428, I propose a readme generator for the API part.
@sindresorhus I did a POC and you can see the generated readme [there](https://github.com/skarab42/typ…
-
Would be nice to have a type that does something this:
```ts
const escaped: Escape = 'abc\.def\ ghi'
```
Or maybe more like
```ts
const escaped: Escape = 'abc\.def\ ghi'
```
Could be a…
mmkal updated
2 months ago
-
When migrating `execa` to `tinyexec` in some projects, I've ran into a difference in the default behavior where `execa` would trim the trailing newline by default (https://github.com/sindresorhus/exec…
-
```
Upload Symbols Failed
The archive did not include a dSYM for the LaunchAtLoginHelper.app with the UUIDs [9D8E1CC2-
D3D8-34F6-B487-623B2DA49EDA, EDODB9EA-FCF3-3CA0-9231-AB848C054E95]. Ensure tha…
-
An issue I found when throwing deserialized errors is that the thrown error has no reference to this `throw` point.
I think the "correct" way to throw serialized errors would be something like:
…