OptionAction: {
    id: string;
    name: string;
    result?: never;
    type: string;
    value: any;
}

Type declaration

  • id: string
  • name: string
  • Optionalresult?: never
  • type: string

    option type

  • value: any

    must correspond to the type