bug-brain
bug-brain
[Here](https://github.com/microsoft/redux-dynamic-modules/blob/master/packages/redux-dynamic-modules-react/src/DynamicModuleLoader.tsx#L180) the lifecycle method `componentWillUnmount`is executed before the preceding siblings' `useEffect` cleanups.
## What are the steps to reproduce this issue? spec.yaml ```yaml openapi: 3.0.2 info: {} paths: "/path": get: parameters: - $ref: "refs.yaml#/components/parameters/switch" responses: '200': content: application/json: schema: type: string ```...
## What are the steps to reproduce this issue? Try to generate code for this schema. ```yaml openapi: 3.0.3 info: {} paths: /{id}: get: parameters: - in: path name: id...
```ts const type = z.intersection( z.object({ a: z.null() }), z.record(z.string().refine((s): s is "b" => s === "b"), z.undefined()), ) const input: z.infer = { a: null, b: undefined } type.parse(input)...
I have noticed that `table.getLeafHeaders()` contained headers that had more headers in `subHeaders` and thereby are not leaves. Looking at the code I found this part where the header is...
### 🔎 Search Terms tuple type union, inference, discriminator ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ...
### âš™ Compilation target es2022 ### âš™ Library es2022, dom ### Missing / Incorrect Definition type of the parameter `fileBits` of the `File` constructor. ### Sample Code ```TypeScript new File((function...
```ts import * as v from 'valibot'; const record = v.record(v.union([v.string()]), v.string()); const t: v.Output = { a: undefined } // ^ { [x: string]: string | undefined; } //...
I want to model a type that has both normal properties and an index signature, for example `{ a: number; [b: number]: string; }`. My best attempt so far is...