(value: BaseRoot, $: BaseScope)
| 279 | // without exactOptionalPropertyTypes, a default replaces undefined, so it's |
| 280 | // never what was decoded |
| 281 | const decodedValueOf = (value: BaseRoot, $: BaseScope): BaseRoot => |
| 282 | $.cfg.exactOptionalPropertyTypes === false ? withoutUndefined(value) : value |
no test coverage detected