Commit Graph

36 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
b1831c5b91 Clean up based on testing for unused files (#13816) 2017-01-06 14:23:26 -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 Hanson
ef28c2d81b Remove react-dnd/react-dnd-html5-backend.d.ts and just use react-dnd-html5-backend/index.d.ts 2016-11-21 13:02:11 -08:00
Paul van Brenk
5607f54def Merge master into typings-2.0
* Changed Files
2016-08-18 14:53:30 -07:00
Paul van Brenk
68eea6297d Merge branch 'master' into types-2.0-20160816
# Conflicts:
#	acl/index.d.ts
#	anydb-sql-migrations/anydb-sql-migrations.d.ts
#	asana/asana.d.ts
#	blue-tape/blue-tape-tests.ts
#	bluebird-retry/bluebird-retry-tests.ts
#	bluebird-retry/bluebird-retry.d.ts
#	bluebird/index.d.ts
#	bookshelf/bookshelf.d.ts
#	consolidate/consolidate.d.ts
#	documentdb/documentdb.d.ts
#	fs-extra-promise/fs-extra-promise.d.ts
#	graphene-pk11/graphene-pk11.d.ts
#	inline-css/inline-css.d.ts
#	inversify/index.d.ts
#	java/java-tests.ts
#	karma/karma.d.ts
#	knex/knex.d.ts
#	koa-router/koa-router.d.ts
#	libxmljs/libxmljs-tests.ts
#	lru-cache/lru-cache.d.ts
#	mz/index.d.ts
#	node-mysql-wrapper/node-mysql-wrapper-tests.ts
#	node-mysql-wrapper/node-mysql-wrapper.d.ts
#	nodemailer/nodemailer.d.ts
#	pify/pify-tests.ts
#	project-oxford/project-oxford-tests.ts
#	project-oxford/project-oxford.d.ts
#	react-router/react-router-tests.tsx
#	react-scroll/react-scroll.d.ts
#	redlock/redlock.d.ts
#	request-promise/index.d.ts
#	rethinkdb/rethinkdb.d.ts
#	sequelize/sequelize.d.ts
#	stamplay-js-sdk/index.d.ts
#	stripe-node/stripe-node.d.ts
#	umzug/umzug.d.ts
2016-08-16 13:56:22 -07:00
rchaser53
a1b6081ba3 add arguments type for using stateless functional component
I added the type for DragSource arguments.
But I forgot to add the other function arguments type.
2016-08-17 00:30:11 +09:00
rchaser53
d493dd6da5 arguments type changes for using stateless functional component 2016-08-13 19:16:48 +09:00
Ryan Cavanaugh
f55497c988 Merge remote-tracking branch 'upstream/master' into merge_7_25
# Conflicts:
#	convict/convict.d.ts
#	multer/multer.d.ts
#	nodemailer/nodemailer.d.ts
#	react-bootstrap-table/react-bootstrap-table.d.ts
#	react-dnd/react-dnd-tests.ts
#	react-native/index.d.ts
#	request/request.d.ts
#	restify/index.d.ts
#	webpack/webpack.d.ts
#	ws/ws.d.ts
2016-07-27 16:12:49 -07:00
David Inglis
51f709d4df Fixes bad indentation issue
Removes refernces to the test backend from the html5 backend tests -
the two backends are distinct so it doesn't make sense to test one
inside the other
2016-07-25 16:42:36 -07:00
David Inglis
b18345f63e [ReactDnd] changes NativeTypes to use string typing 2016-07-25 12:15:20 -07:00
Phips Peter
ad6ffc4b5c Separate React DnD
This makes it an easier user experience.
2016-07-25 12:14:53 -07:00
Phips Peter
78c2da12eb Update React DnD types 2016-07-25 12:14:39 -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
Ryan Cavanaugh
2847235610 More fixes around __React 2016-05-12 17:07:04 -07:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -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
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
Vincent Siao
1917a4122a [react] Add T param to React.DOM* types 2016-03-14 01:46:13 -07:00
Wolfgang Steiner
55542c4c6c added types for collector functions (DragSource, DragTarget, DragLayer) 2016-02-14 15:33:01 +01:00
Phips Peter
31b6fe5575 Fix react-dnd HTML5 Backend
The type signatures previously did not match the JavaScript definition
for this module.
2015-10-07 16:17:28 -07:00
Masahiro Wakame
8ea82f65e3 Merge pull request #5869 from use-strict/patch-1
Update react.d.ts - Validate static members of React.Component
2015-10-05 22:44:28 +09:00
Yiting Zhi
e4f6f8ef44 [ReactDnd] Added DragLayer type definition
The type definitions didn't have DragLayer support. This commit adds support for ReactDnd DragLayer.
2015-09-24 21:09:10 -07:00
Ciuca, Alexandru
64cd3d9c56 Fixed react tests caused by incompatibility of aliased props generics 2015-09-17 20:11:06 +03:00
Eric Pelz
5dafa21e89 Add the TestBackend module to React DnD
This allows unit testing with React DnD.
2015-08-06 16:17:12 -07:00
Eric Pelz
cc1daf7d84 Rename React DnD test file 2015-08-03 09:56:49 -07:00
Eric Pelz
d8dc5313d8 Add definitions for React DnD
Adding React DnD type definitions for React DnD v1.1.4, which is the latest
version.

Paired with @vsiao on parts of this
2015-07-29 17:48:37 -07:00