Andy
51b64c3c15
Remove unnecessary references in test files. ( #14900 )
2017-03-10 07:46:20 -08:00
Eric Anderson
9b53298395
Support Pick<> on setState now that TS 2.1 is out ( #13155 )
...
* Support Partial<> on setState now that TS 2.1 is out
* Update readme to reflect setState being typed correctly
* Switch setState to Pick
* Restore cloneELement portion of readme
* Use Pick<> | S for setState due to cast issue
* state and props should be readonly
* Fix nit + document why we
* Add typescript compiler header
* Update to properly order headers
* Update readme to reflect 2.1.5 fixing stPick
* Update readme now that 2.1.5 is out
* All that depend on react now require 2.1
* Fix definition that fails due to readonly state
2017-01-23 12:36:53 -08:00
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
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
John Kokkinidis
f29ae55648
- Made the options parameter optional.
2016-08-13 02:11:45 +03:00
John Kokkinidis
0bc5024c75
- Updated react-scroll typing to match the new version of react-scroll.
2016-08-13 01:59:29 +03: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
67c26c1c44
Fix react-scroll
2016-05-12 15:20:29 -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
81862d240d
More fixes
2016-05-04 22:50:05 -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
4a433abbf4
Unwrap all lone ambient external modules
2016-04-22 14:12:45 -07:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
oizie
e690244ecf
Added React
2016-03-10 11:14:38 +00:00
oizie
ec48a81c06
Changed to proper extension
2016-03-10 11:10:51 +00:00
oizie
6b6e717b3a
Removed unused references
2016-03-10 11:06:44 +00:00
oizie
3e2f88b5e3
Removed unused references
2016-03-10 11:01:05 +00:00
oizie
5ca2760d99
Changed way of testing
2016-03-10 10:55:28 +00:00
oizie
6b60e32d95
Changed way of testing
2016-03-10 10:51:24 +00:00
oizie
1a111adc81
Changed the tests
2016-03-10 10:41:41 +00:00
oizie
38eab28f31
Changed the tests
2016-03-10 10:38:41 +00:00
oizie
e0a74d09ed
Fixed the tests.
2016-03-10 09:59:00 +00:00
oizie
69882a2528
Changed tests
2016-03-10 09:40:31 +00:00
oizie
84d5dcdf3f
Added return type to the function
2016-03-10 09:35:05 +00:00
oizie
e2ff7ea520
Added references in react-scroll typings
2016-03-10 09:30:36 +00:00
Pedro Inacio
dec616d1ef
Fixed tests
2016-03-10 09:10:36 +00:00
oizie
a9f2dc3bc8
Changed tests
2016-03-09 17:36:24 +00:00
oizie
5ec4f0fd49
Fixed test
2016-03-09 17:28:17 +00:00
oizie
f178a43376
added new react scroll type definitions and tests
2016-03-04 16:26:46 +00:00