weather: Schema.NonEmptyArray(ListWeather).pipe(
Schema.transform(ListWeather, {
decode: (val) => val.at(0)!,
encode: (val) => {
const test: NonEmptyReadonlyArray<Schema.Schema.Type<typeof ListWeather>> = [val]
return test
},
strict: true,
}),
),
weather: Schema.NonEmptyArray(ListWeather).pipe(
Schema.transform(ListWeather, {
decode: (val) => val.at(0)!,
encode: (val) => {
const test: NonEmptyReadonlyArray<Schema.Schema.Type<typeof ListWeather>> = [val]
return test
},
strict: true,
}),
),