Transforming `S.record(S.string, S.unknown)` to `S.struct({ a: S.string })` using `S.transform`
Is it possible to go from
S.record(S.string, S.unknown) to S.struct({ a: S.string }) other than:S.record(S.string, S.unknown).pipe(S.compose(S.struct({ a: S.string }))) would be ideal but it doesn't type check.