Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
StateConfigKey
type
Get the key type (K) from a StateConfig
type StateConfigKey<S extends AnyStateConfig> = S extends StateConfig<infer K, infer _V> ? K : never
Import
import { StateConfigKey } from '@modular/sdk/editor';