Skip to content

highcharts/highcharts-declarations-generator

Repository files navigation

Highcharts Declarations Generator

Takes recent meta dumps of options and namespaces doclets, and generates declaration files (*.d.ts) for TypeScript.

Note: This is a temporary solution to migrate the Highcharts project to TypeScript.

How To Use

You can configure the output of the generator by creating a dtsconfig.json in you project root.

The generator gets normally called via Gulp:

Gulp.task('dts', require('highcharts-declarations-generator').task);

You can use @type {"TypeScript: any"} in JSDoc doclets to define complex TypeScript statement, that is otherwise not possible with JSDoc.

About

Generator scripts for generating TypeScript declarations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •