Skip to content

ForbidBaseKeys

ForbidBaseKeys<Base, T> = { [K in keyof T]: K extends keyof Base ? never : T[K] }

Defined in: packages/sigma/src/types/styles.ts:78

Prevents custom state from shadowing built-in base state keys. Properties that collide with base keys resolve to never, causing a type error.

Type Parameters

Base

Base

T

T