interface EffectDesc<T> {
    name?: T["name"];
    props: ExtractProps<EffectMap[T["type"]]>;
    type: T["type"];
}

Type Parameters

  • T extends {
        name?: string;
        type: keyof EffectMap;
    } = {
        name?: string;
        type: keyof EffectMap;
    }

Hierarchy (view full)

Properties

Properties

name?: T["name"]
props: ExtractProps<EffectMap[T["type"]]>
type: T["type"]