Skip to main content

AnyStateConfig

type

For advanced use cases, using this type is not recommended unless it is required (due to TypeScript's lack of features like higher-kinded types). A StateConfig type with any key and any value that can be used in situations where the key and value type can not be known, such as in a generic constraint when working with a collection of StateConfig. StateConfigKey and StateConfigValue will be useful when this is used as a generic constraint.

type AnyStateConfig = StateConfig<any, any>

Import

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