Type inference issue with nested Record schema

why the type of the following schema shows an empty record?
export const ExchangeRateTimeSeries = S.Struct({
    "Time Series FX (Daily)": S.Record({
        key: S.Date,
        value: S.Struct({ close: S.Number.pipe(S.nonNegative()) }).pipe(S.pluck("close")),
    }),
});
type t = typeof ExchangeRateTimeSeries.Type

type t = {
    readonly "Time Series FX (Daily)": {};
}
Was this page helpful?