type Spec

bend-lint-api@0.2.0.0 · linter/lint.bend:525

import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
import Base

525# What an option accepts: a whole number in a range, a flag, text (one of `choices`, unless there are none), or what
526# one of `specs` accepts.
527type Spec is Data:
528  NumberOption{min: U32, max: U32}
529  FlagOption{}
530  TextOption{choices: List<&2, String>}
531  AnyOption{specs: List<&2, Spec>}

Uses (3)

Used by (2)