Method
mapFields
(
f: (fields: S["fields"]) => To,
options?: {
readonly unsafePreserveChecks?: boolean | undefined
} | undefined
)
Source from the content-addressed store, hash-verified
| 14146 | } |
| 14147 | } |
| 14148 | static mapFields<To extends Struct.Fields>( |
| 14149 | f: (fields: S["fields"]) => To, |
| 14150 | options?: { |
| 14151 | readonly unsafePreserveChecks?: boolean | undefined |
| 14152 | } | undefined |
| 14153 | ): Struct<Simplify<Readonly<To>>> { |
| 14154 | return struct.mapFields(f, options) |
| 14155 | } |
| 14156 | } |
| 14157 | |
| 14158 | if (proto !== undefined) { |
Callers
nothing calls this directly
Tested by
no test coverage detected