1 2 3 4 5 6 7
import type Year from './Year'; import type Month from './Month'; import type Day from './Day'; type Date = `${Year}-${Month}-${Day}`; export default Date;