visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.74k stars 302 forks source link

Timeline: TypeError when using option `loadingScreenTemplate` #1767

Open annsch opened 4 months ago

annsch commented 4 months ago

Hi, we're using "vis-timeline": "^7.7.3". When compiling our types we're getting an TypeError when using the options property "loadingScreenTemplate". This property exists and is also used in this example: https://codepen.io/pen. But the property ist not an exported property of node_modules/vis-timeline/types/index.d.ts. Also the header of these generated types says:

// Type definitions for vis.js 4.21

Could it be that the generated types are based on an older version of the api? loadingScreenTemplate isn't documented here: https://visjs.github.io/vis-timeline/docs/timeline

Anyways, thanks for your great implementation :)