Commit Graph
7 Commits
Author SHA1 Message Date
Severin faaec1416d Updating template function defintion (#15936)
* Updating template function defintion

As mentioned [here](https://github.com/seveves/ng2-vis/issues/32) there is a problem with the definition of the template functions. We really should allow any as a return value because you can return a string, Handlebars, mustache or even react templates. As you can see [here](http://visjs.org/docs/timeline/#Templates) the template function always has three parameters. I made them optional because you don't have to use them at all.

* Using fat arrow syntax

I think this is the right way to do it.

* Fix lint error
2017-05-01 16:04:51 -07:00
Andy e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Jan Van Ryckeghem 803c349a1b increment version 2017-03-31 14:36:19 +02:00
Jan Van Ryckeghem 0e2ddee324 All VisJS config options are optional.
http://visjs.org/docs/timeline/#Configuration_Options
2017-03-31 14:30:15 +02:00
Andy ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00