Commit Graph
41 Commits
Author SHA1 Message Date
Krzysztof HeimandGitHub 0421323105 Update index.d.ts
added application_name parameter.
2017-02-20 13:17:22 +01:00
Kagami Sascha Rosylight 4342e2b37f restoring callback-less and removing optional 2017-02-08 02:45:49 +09:00
Kagami Sascha Rosylight 52ae53f859 use arrow function on tests 2017-02-08 02:36:34 +09:00
Kagami Sascha Rosylight 238d84f545 add 'end' event to Client 2017-02-08 02:34:58 +09:00
Kagami Sascha Rosylight 323543bc04 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into patch-1 2017-02-08 02:31:53 +09:00
Kagami Sascha Rosylight d88d452cf0 resolve most of lint error 2017-02-06 23:46:11 +09:00
Victor WidellandGitHub b8b063f64b Made overloads work with union types.
https://github.com/Microsoft/TypeScript/issues/1805
2017-02-06 11:47:15 +01:00
Kagami Sascha RosylightandGitHub 3c083f098b Update pg-tests.ts 2017-02-06 19:41:21 +09:00
Kagami Sascha RosylightandGitHub 5b30a7bfe7 add defaults field 2017-02-06 19:40:19 +09:00
scippioandMohamed Hegazy 205f2ffa69 end() method with callback (#13705)
added callback into end() method
2017-01-19 10:05:38 -08:00
AndyandGitHub 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
AndyandGitHub 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
zhengbli fc10f58ca2 Fix CI errors 2016-10-25 03:18:27 -07:00
zhengbli 2f4b18f28f stage changes to index.d.ts 2016-10-24 22:52:02 -07:00
Leo Liang eab542d3d6 Merge commit '84a760de85868091952eddb76eb21374267cdc0e' into types-2.0
* commit '84a760de85868091952eddb76eb21374267cdc0e': (424 commits)
  Add confit typings (#11168)
  d3-array: * Add explicit typing to an `extent` test with mixed array including NumCoercible. It appears type inference has changed with the lates TypeScript@next (2.1.0-dev.20160912 or 2.1.0-dev.20160913). This could be a regression in TS, but for now to not break DT/types-2.0 in the interim an explicit cast is applied.
  Updated pasteHTML(...) interface definitions and bumped version to v1.0.3
  Add missing semicolon
  Node.d.ts: Update definitions for module "stream" (#11086)
  [node]Rearrange the order and add missing stuff for os (#11146)
  Add new stuff (#11147)
  Added definitions for Validate.js (#10988)
  [node] Correct constants module for node v6 (#11140)
  Added typings for libxslt (#11094)
  Node.d.ts: Update definitions for module "dgram" (#11143)
  Change type definition for angular-es@1.0.0 (#11141)
  Added toast class property to toast options/config object per commit … (#11132)
  [node] imported and global process are same (#11092)
  fixing a typo in cache-manager/cache-manager.d.ts (#11129)
  Add humps definitions (#11127)
  Definitions braintree-web v3.0.2 (#11126)
  Remove JQuery dependency for Segment analytics (#11124)
  Update resolve type in angular-material.d.ts. (#11122)
  manager using credentials (#11078)
  ...

# Conflicts:
#	pg-pool/pg-pool-tests.ts
#	pg/index.d.ts
2016-09-16 15:51:12 +08:00
zhengbli c2a54db3e9 Merge branch 'master' into types-2.0
# Conflicts:
#	amcharts/AmCharts.d.ts
#	angular-gettext/angular-gettext.d.ts
#	angular-jwt/angular-jwt.d.ts
#	angular-material/angular-material.d.ts
#	angularjs/angular.d.ts
#	auth0-js/auth0-js.d.ts
#	aws-lambda/aws-lambda.d.ts
#	aws-sdk/aws-sdk.d.ts
#	azure-mobile-apps/azure-mobile-apps.d.ts
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	blessed/blessed-tests.ts
#	blessed/blessed.d.ts
#	bootbox/bootbox.d.ts
#	bowser/bowser.d.ts
#	cache-manager/cache-manager.d.ts
#	chai-things/chai-things.d.ts
#	colors/colors.d.ts
#	cordova/cordova-tests.ts
#	cordova/plugins/Contacts.d.ts
#	cordova/plugins/FileSystem.d.ts
#	couchbase/couchbase.d.ts
#	cucumber/cucumber-tests.ts
#	cucumber/cucumber.d.ts
#	d3/d3.d.ts
#	dojo/dojo.d.ts
#	dustjs-linkedin/dustjs-linkedin.d.ts
#	esprima/esprima.d.ts
#	express-serve-static-core/express-serve-static-core.d.ts
#	express-session/express-session.d.ts
#	fetch-mock/fetch-mock.d.ts
#	fs-extra/fs-extra.d.ts
#	fullCalendar/fullCalendar.d.ts
#	github-electron/github-electron.d.ts
#	gulp-uglify/gulp-uglify.d.ts
#	gulp/gulp.d.ts
#	highcharts/highcharts.d.ts
#	imap/imap.d.ts
#	incremental-dom/incremental-dom.d.ts
#	inversify/inversify.d.ts
#	ionic/ionic.d.ts
#	ioredis/ioredis.d.ts
#	isomorphic-fetch/isomorphic-fetch-tests.ts
#	jake/jake.d.ts
#	joi/joi.d.ts
#	jquery-mockjax/jquery-mockjax.d.ts
#	jquery/jquery.d.ts
#	js-data-http/js-data-http-tests.ts
#	js-data-http/js-data-http.d.ts
#	js-data/js-data.d.ts
#	jsdom/jsdom.d.ts
#	jsts/jsts-tests.ts
#	knex/knex.d.ts
#	koa-favicon/koa-favicon.d.ts
#	koa-router/koa-router-tests.ts
#	koa-router/koa-router.d.ts
#	lodash/lodash.d.ts
#	mailparser/mailparser.d.ts
#	maquette/maquette.d.ts
#	material-ui/material-ui.d.ts
#	matter-js/matter-js.d.ts
#	moment/moment.d.ts
#	mongoose-promise/mongoose-promise-tests.ts
#	mongoose/mongoose-tests.ts
#	mongoose/mongoose.d.ts
#	multer/multer.d.ts
#	ncp/ncp.d.ts
#	nock/nock.d.ts
#	node/node-tests.ts
#	node/node.d.ts
#	nvd3/nvd3.d.ts
#	object-assign/object-assign.d.ts
#	openlayers/openlayers.d.ts
#	parse/parse.d.ts
#	pdf/pdf.d.ts
#	pdfkit/pdfkit.d.ts
#	pg/pg.d.ts
#	pixi.js/pixi.js.d.ts
#	progress/progress.d.ts
#	pusher-js/pusher-js.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	radium/radium.d.ts
#	ravenjs/ravenjs-tests.ts
#	react-dropzone/react-dropzone.d.ts
#	react-mdl/react-mdl.d.ts
#	react-native/react-native.d.ts
#	react-notification-system/react-notification-system.d.ts
#	react-router/history-tests.ts
#	react-router/react-router-tests.tsx
#	react-router/react-router.d.ts
#	react-select/react-select-tests.tsx
#	react-select/react-select.d.ts
#	react/react.d.ts
#	redux-form/redux-form.d.ts
#	request-promise/request-promise.d.ts
#	resolve-from/resolve-from.d.ts
#	riot-api-nodejs/riot-api-nodejs.d.ts
#	sanitize-html/sanitize-html.d.ts
#	segment-analytics/segment-analytics.d.ts
#	simple-assign/simple-assign-tests.ts
#	simple-assign/simple-assign.d.ts
#	slate-irc/slate-irc.d.ts
#	soap/soap.d.ts
#	socket.io/socket.io.d.ts
#	sql.js/sql.js-tests.ts
#	sql.js/sql.js.d.ts
#	steam/steam.d.ts
#	stylus/stylus.d.ts
#	swiper/swiper.d.ts
#	tedious/tedious.d.ts
#	threejs/three.d.ts
#	twilio/twilio.d.ts
#	underscore/underscore.d.ts
#	ws/ws.d.ts
#	yeoman-generator/yeoman-generator.d.ts
2016-09-14 18:44:24 -07:00
Leo Liang 07a5388936 Port pg 6.1.0 types update to types-2.0 branch 2016-09-12 18:05:29 +08:00
Leo Liang 67e4127430 Remove circular dependency between modules. 2016-08-30 20:38:15 +08:00
Leo Liang 4ce23b34db pg 6.1.0 2016-08-26 15:12:22 +08:00
Ryan Cavanaugh 5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -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
Leo LiangandMasahiro Wakame 53ed90b6e7 result in Client.query() callback has the same type with result object in Query end event. (#9307) 2016-05-15 02:20:51 +09: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 fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh 337587de8c Rename external modules to index.d.ts 2016-04-27 21:30:22 -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
Ryan Cavanaugh 541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
Christopher Brown d2a5819d31 Add test for calling done with an argument 2016-03-23 16:25:28 -05:00
Christopher Brown 6c0c57c0c5 Add optional arg to connect's callback's 'done' callback 2016-03-23 16:17:26 -05:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Leo Liang e80b4e8d35 pg.d.ts: Make parser a generic function 2016-03-01 11:36:18 +08:00
Leo Liang 88fae72f6c pg.d.ts: add support to pg-types 2016-02-29 11:20:28 +08:00
Ilya Mochalov abc2bcfb85 node: improved EventEmitter's definition with this-typing 2016-02-25 02:10:08 +05:00
Phips Peter 8fb6309e8d Adding type definitions for pg
This is heavily based on the definitions from sqlite3. The Connection
class is not defined because pg says that it is private for most use
cases. I left that work for people who need it.
2014-05-30 12:34:46 -07:00