Commit Graph

45 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
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
Andy
c968762595 Merge 'master' to 'types-2.0' one last time (#13277)
* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)

* Remove redux-localstorage packages; added by #13115 instead
2016-12-12 11:00:28 -08:00
Ryan Cavanaugh
c73630c9a3 Merge commit 'upstream/master~400' into merge_7_25
# Conflicts:
#	angular-translate/angular-translate.d.ts
#	knex/knex.d.ts
#	redux-logger/index.d.ts
#	simplestorage.js/index.d.ts
#	underscore/underscore.d.ts
#	yargs/yargs.d.ts
2016-07-26 13:53:00 -07: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
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
Will
b50ccc2baf fix typo in Chartist (#9701)
Signed-off-by: Will Soto <will.soto9@gmail.com>
2016-06-19 12:42:22 +09:00
Ryan Cavanaugh
185c8f30b6 Fix more reference paths 2016-05-11 16:31:46 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -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
Kevin Visscher
c02da04ba0 Allow import statement from Typescript (#8911) 2016-04-12 23:10:28 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Matt Gibbs
9a9021d738 Forgot the [] on Object for extend() 2016-01-28 14:41:48 -05:00
Matt Gibbs
8b39d26623 Fixed Chartist.extend definition to support multiple parameters. 2016-01-28 14:02:33 -05:00
Forrest Peterson
4d99796247 Change to where plugins is 2016-01-21 15:45:33 -05:00
Matt Gibbs
e58251a8d3 Added an optional member for plugins
Just set to Array<any> for now until I have a better understanding of
all the possibilities for plugins.
2016-01-19 15:42:43 -05:00
Matt Gibbs
f9b189a873 Made 'type' optional to avoid problems with Chartist defaults
When forced to define the type, Chartist won't default to all of the
other options.  So if you just want to do something like not show the
grid, you'll end up having to define all of the axis options because of
the strict typing that was there before.
2016-01-19 15:32:11 -05:00
Forrest Peterson
7edc447a5f Change to IChartistData interface in Chartist 2016-01-19 13:16:43 -05:00
Matt Gibbs
059319a033 Defining Chartist Interpolation Options 2016-01-14 15:46:42 -05:00
Matt Gibbs
21f5129d25 Adding more tests for bar charts 2016-01-14 15:20:43 -05:00
Matt Gibbs
8bf574716d Bumping chartist version to 0.9.5 2016-01-14 15:13:26 -05:00
Matt Gibbs
2e5f3e2db4 Added Interpolation definitions and tests 2016-01-14 15:10:55 -05:00
Matt Gibbs
fe08f93533 Further expanding Chartist type definitions. 2016-01-14 14:52:05 -05:00
Matt Gibbs
9867eb1aa4 Updating Chartist Axis types
There are three different types of Axes for line charts that project
their properties onto the axis type.  I am trying to emulate that here.
If you specifically declare a LineChartAxis, then you MUST attach the
axis type.  The library lets you play a little fast and loose with this,
but because we're going for some compile-time checks, the typing file is
going to enforce being specific.
2016-01-14 11:13:35 -05:00
Matt Gibbs
b779873b3f Expanding Chartist Type Definitions 2016-01-12 16:24:28 -05:00
Matej Kormuth
fc9d13a249 Fixes typo in IBarChartAxis 2015-10-03 14:38:25 +02:00
Matt Gibbs
dbadd9b96d Fixed accidental missing optional markers
Also added the noop function to the Static Chartist
2015-09-25 18:02:47 -04:00
Matt Gibbs
4046880565 More explicit typing for test case examples. 2015-09-25 18:02:22 -04:00
Matt Gibbs
9aa926ee0e More Test coverage 2015-09-25 17:54:54 -04:00
Matt Gibbs
9e607119ab Restricting typing of data to Object
This should at least stop primitives until I can figure out the
structure of each type of data.
2015-09-25 17:53:42 -04:00
Matt Gibbs
fca8506505 Adding in the four methods for Chartist.Base 2015-09-25 17:48:02 -04:00
Matt Gibbs
9dc1ff729f Trying to improve coverage in tests.
Still lots of implicit any catching me.  Having to be explicit in the
test.
2015-09-25 17:47:40 -04:00
Matt Gibbs
c113a72c50 Messed up the "new" part in the typing file. 2015-09-25 17:28:41 -04:00
Matt Gibbs
7f02343898 More Test data
Had to add some explicit typing to some of the example functions just to
get the test to complete successfully.  Maybe that shouldn't be a
concern in the test files?
2015-09-25 17:28:29 -04:00
Matt Gibbs
b5491028b2 Adding some examples from chartists' site for testing. 2015-09-25 17:01:50 -04:00
Matt Gibbs
d02cd58fb1 Filling in some content. 2015-09-25 17:01:35 -04:00
Matt Gibbs
079fd7bc35 Adding stub of chartist.d.ts 2015-09-25 11:23:30 -04:00