Commit Graph
8 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 097d2acf71 Miscellaneous lint fixes (#20849) 2017-10-22 15:22:50 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Windson Yan b60783a6ef Fix the parameter list of blend method, accept dodge instead of dogde (#20129) 2017-10-04 22:47:14 +09:00
Adrian Leonhard 15272b994a [chroma-js] Renamed namespace so types visible.
Renamed namespace Chroma which contains all the types to chroma so it is merged with the exported variable chroma and the types are externally visible. Added corresponding test.
2017-08-15 13:47:18 +02:00
Adrian Leonhard a6c6caa940 Multiple fixes to types/chroma-js/index.d.ts (#16769)
* Multiple fixes to types/chroma-js/index.d.ts
* Fixed bezier method
* typed string parameters to be string unions
* added out parameter to Scale.colors
* changed color types to number tuples instead of arrays
* added types/chroma-js/tslint.json

* [chroma-js] Added documentation
Copied method descriptions from the API docs.

* [chroma-js] Added more documentation
Copied method descriptions from the API docs.

* Actually ran the linter...

* [chroma-js] reverted package.json
2017-06-02 12:42:09 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00