Commit Graph

41 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Çağatay Çivici
9f28e020a0 Fixed #8188 2016-02-21 23:47:39 +02:00
Erik O'Leary
e6231f5948 Added missing optional parameter 2016-01-19 14:37:59 -06:00
Mark Bouwman
feb3495380 Added properties to BarChartOptions 2016-01-01 22:30:39 +01:00
Andrew Fong
ba1ba6fdeb Individual chart options may also override global options 2015-11-25 02:24:50 +00:00
Trapulo
24253c8064 CircularChartData color optional
according to documentation, color is optional
http://www.chartjs.org/docs/#doughnut-pie-chart
2015-09-14 12:07:30 +02:00
Masahiro Wakame
55f5685aae Merge pull request #4091 from Slimfit/patch-2
CircularInstance.addData was incorrect
2015-04-14 08:12:06 +09:00
Slimfit
32aae2c650 Missed a couple addData() calls in the test file 2015-04-11 11:36:06 -04:00
Slimfit
8fa20fff1e Updated test file CircularInstance to match new addData signature 2015-04-11 11:27:24 -04:00
Slimfit
262cd5c3fc CircularInstance.addData was incorrect
addData takes a single object of type CircularChartData, not an array. Also the index is optional. See addData example in the documentation http://www.chartjs.org/docs/#doughnut-pie-chart-prototype-methods
2015-04-11 11:13:27 -04:00
Slimfit
43fe8614da Add segments array to CircularInstance
This is needed because a circular instance are set by updating CircularIntance.segments[0].value. See update() example in the following documentation: http://www.chartjs.org/docs/#doughnut-pie-chart-prototype-methods.
2015-04-10 17:39:42 -04:00
Ivan Akulov
32b31deb18 Mark "highlight" and "label" properties of CircularChartData as optional
The "highlight" and "label" properties of CircularChartData are actually optional: highlight defaults to color (https://github.com/nnnick/Chart.js/blob/master/src/Chart.Doughnut.js#L98), and label is only rendered when present (https://github.com/nnnick/Chart.js/blob/master/src/Chart.Doughnut.js#L35).
2015-03-17 13:17:14 +03:00
Steve Fenton
ad1e185b4c Update chart-tests.ts 2014-09-29 10:10:51 +01:00
Steve Fenton
8da8bce0b1 Update chart-tests.ts 2014-09-29 10:07:57 +01:00
Steve Fenton
a03690e46e Update chart-tests.ts 2014-09-29 10:03:53 +01:00
Steve Fenton
c3da47bb1f Update chart.d.ts 2014-09-29 10:03:33 +01:00
Steve Fenton
975a3b10b6 Create chart-tests.ts 2014-09-29 08:18:39 +01:00
Steve Fenton
802b27946a Create chart.d.ts 2014-09-29 08:17:34 +01:00
Basarat Ali Syed
0d254d3a18 Delete dx.chartjs.d.ts
This definition camps on an actual project http://www.chartjs.org/
2014-09-16 10:03:07 +10:00
Igor Kriklivets
2c3ed445c0 Headers restored 2014-09-11 09:10:21 +04:00
Igor Kriklivets
9811e39597 Added backward compatibility for old version 2014-09-11 09:05:58 +04:00
Igor Kriklivets
d6d44a1d7c Revert "Old versions removed"
This reverts commit f2646a12ef.
2014-09-11 09:00:55 +04:00
Igor Kriklivets
f2646a12ef Old versions removed 2014-09-03 19:58:15 +04:00
Igor Kriklivets
6b0e6361f4 Support for 0.9.5 compiler version 2013-12-12 21:31:41 +04:00
Igor Kriklivets
8a960c12ce Remove not required .tscparams 2013-12-05 16:40:33 +04:00
Igor Kriklivets
93a2a37b88 Removed implicit any from 2013-11-20 13:40:44 +04:00
Igor Kriklivets
2f4f78d500 Added .tscparams files 2013-11-20 12:31:37 +04:00
Igor Kriklivets
04556eb65a Added definitions for PhoneJS and ChartJS 2013-11-19 10:54:59 +04:00