andrew jarrett
andrew jarrett
in module #5 titled "negated character class", the tests don't cover an incorrect answer. //CORRECT ANSWER: module.exports = function (str) { return /^[^0-9][^A-Z]/.test(str) } //INCORRECTLY ACCEPTS: module.exports = str =>...
Closes #641 The implementation includes a generic, perhaps more useful type `DeepReplace` that I could separate into its own module in a separate PR if you want. Also note that...
After merging While implementing https://github.com/sindresorhus/type-fest/pull/648 @sindresorhus and I discussed extracting `ReplaceDeep` into its own type. This issue reflects the work to do that.
See [this issue](https://github.com/microsoft/TypeScript/issues/55535), specifically [this comment](https://github.com/microsoft/TypeScript/issues/55535#issuecomment-1703854817). Using a recursively mapped type like `RequiredDeep` comes with a side effect: even though VS Code seems to resolve the type, the type-checker ignores...
#804 fixes the `no-restricted-imports` eslint rule, but I wasn't able to quickly restrict imports from a folder project wide.
This small PR updates the type of `objectOutputType` to fully evaluate the type. This only seems to occur with `catchall` schemas, and only sometimes. **Before:** You can see in the...
### π Search Terms tuple, tuples, label, labels, tuple labels, satisfies, as const ### β Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code -...
Closes #2317 Closes #2320 Closes #2321 Might close #2276 Supercedes #2319 ### Description This PR adds a new "selector" API for querying translations. Feedback on any part of this PR...
## π Feature Proposal As a user, I want to be able to see any JSDoc annotations that were added to a particular translation. ## Motivation Especially when dealing with...
## π Feature Proposal As a user, it would be useful to be able to jump to a particular translation from the call-site (for example, when using the `t` function)....