ts
export const ProfessionalExperience = S.struct({
title: S.string,
startDate: pipe(
S.to(S.Date),
S.description("Date de début d'une expérience")
), // we should not need S.to here, but only in a transform
endDate: S.nullable(S.to(S.Date)),
client: S.string,
location: S.string,
description: S.string
})
ts
export const ProfessionalExperience = S.struct({
title: S.string,
startDate: pipe(
S.to(S.Date),
S.description("Date de début d'une expérience")
), // we should not need S.to here, but only in a transform
endDate: S.nullable(S.to(S.Date)),
client: S.string,
location: S.string,
description: S.string
})