@ type / vis 4.21的本地类型定义中缺少“周”标度

问题描述

我正在使用vis / type(版本4.21)。我们需要一个星期的比例来显示我们的时间表。但是类型文件中缺少周刻度。请参阅我本地文件中的以下代码:vis-timeline / declaration / index.d.ts。

export type TimelineTimeAxisScaleType = 'millisecond' | 'second' | 'minute' | 'hour' |'weekday' | 'day' | 'month' | 'year';

但是在GitHub页面上,我可以看到周规模(https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vis/index.d.ts

export type TimelineTimeAxisScaleType = 'millisecond' | 'second' | 'minute' | 'hour' |
  'weekday' | 'day' | 'month' | 'year';

对这个问题有任何想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)