Date type allows only String
The Documentation states that the TimelineItem date-prop accepts Date | string | number.
Also in the Example Code a new Data() is passed.
The TimelineItem Type on the other hand accepts only strings.
`
export interface TimelineElement {
id: number;
date: string;
title: string;
...
`
Am i missing something?
1 条评论