Skip to content
Alchemy Logo

NotType

type NotType<A, B> = A extends B ? never : unknown;

Defined in: aa-sdk/core/src/utils/index.ts:29

Used to ensure type doesn't extend another, for use in & chaining of properties

Type Parameter

A

B

Was this page helpful?