Skip to main content

StateConfigValue

type

Get the value type (V) from a StateConfig

type StateConfigValue<S extends AnyStateConfig> = S extends StateConfig<infer _K, infer V> ? V : never

Import

import { StateConfigValue } from '@modular/sdk/editor';