Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

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