(
enums: ReadonlyArray<readonly [string, string | number]>,
annotations?: Schema.Annotations.Annotations,
checks?: Checks,
encoding?: Encoding,
context?: Context
)
| 1056 | readonly enums: ReadonlyArray<readonly [string, string | number]> |
| 1057 | |
| 1058 | constructor( |
| 1059 | enums: ReadonlyArray<readonly [string, string | number]>, |
| 1060 | annotations?: Schema.Annotations.Annotations, |
| 1061 | checks?: Checks, |
| 1062 | encoding?: Encoding, |
| 1063 | context?: Context |
| 1064 | ) { |
| 1065 | super(annotations, checks, encoding, context) |
| 1066 | this.enums = enums |
| 1067 | } |
| 1068 | /** @internal */ |
| 1069 | getParser() { |
| 1070 | const values = new Set<unknown>(this.enums.map(([, v]) => v)) |
nothing calls this directly
no outgoing calls
no test coverage detected