Anna Bocharova
Anna Bocharova
I also have a question about adding the method to the types declaration: https://github.com/expressjs/express/issues/5615#issuecomment-2943235410
> Open to being convinced otherwise. Since `ZodFunction` became not-a-schema in Zod 4, there is no way to specify the one accepting a callback (another function) `¯\_(ツ)_/¯`. Here is an...
@NatoBoram , we really need the types for `express-serve-static-core` v5. Is there a plan on finishing it?
Alternative PR with all tests passing is here: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70563 The key difference is that besides fixing failing tests I also fixed some types actually causing those tests to fail. It...
> expect.objectContaining({ cause: ... }) — this approach is good, @hi-ogawa, but it does not provide a hint when such assertion fails: ```diff AssertionError: expected error to match asymmetric matcher...
https://stackoverflow.com/questions/55454125/typescript-remapping-object-properties-in-typesafe For the needs of my project I came up with this compilation. Perhaps it could be useful, @Harris-Miller ```ts type TuplesFromObject = { [P in keyof T]: [P, T[P]];...
Ok, I will take a look, @Harris-Miller
> @RobinTail feel free to contribute directly to this PR @Harris-Miller , I don't have permissions to contribute ``` ERROR: Permission to ramda/types.git denied to RobinTail. fatal: Could not read...
Similarly, I'd also like to propose this: ```diff - export function mapKeys(__: Placeholder, obj: Record): (fn: (key: string) => string) => Record; + export function mapKeys(__: Placeholder, obj: T): (fn:...
something affects `@types/node` resolution in migration workspace