Skip to content

Typing fixes for options and Graph2d#1750

Open
jan-dolejsi wants to merge 5 commits into
visjs:masterfrom
jan-dolejsi:typing_fixes_for_options_and_graph2d
Open

Typing fixes for options and Graph2d#1750
jan-dolejsi wants to merge 5 commits into
visjs:masterfrom
jan-dolejsi:typing_fixes_for_options_and_graph2d

Conversation

@jan-dolejsi
Copy link
Copy Markdown
Contributor

  • missing Graph2dOptions (matching the documentation and examples)
  • fixed Graph2d.getLegend(...) typings
  • missing TimelineOptions.loadingScreenTemplate

Comment thread types/index.d.ts
Comment on lines +547 to +552
/**
* Retrieve legend icon (SVG, name and y-axis affiliation)
* @param groupId group id for which the legend icon and name should be returned
* @param iconWidth icon width
* @param iconHeight icon height
*/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jsdocs make not much sense in type definition files. Please remove or replace with a one-line comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants