Commit Graph
28 Commits
Author SHA1 Message Date
Eric AndersonandMohamed Hegazy 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
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
Ben BarberandAndy e1a13a39c6 Added missing definition for peek() (#13488) 2016-12-27 19:51:21 -05:00
Emanuel KlugeandAndy a8d3f3ff8e (react-helmet): Add support for style-property (#13357)
The `style`-property was introduced with v3.1
2016-12-27 18:45:11 -05: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
Hendrik Liebau dff0f0f29c export ReactHelmet namespace 2016-10-24 12:08:37 +02:00
Paul van Brenk 5607f54def Merge master into typings-2.0
* Changed Files
2016-08-18 14:53:30 -07:00
minodisk 4595e61ad1 Update react-helmet
- Add `titleTemplate` to `HelmetProps`
- Remove blank lines
2016-08-16 20:11:47 +09:00
Ryan Cavanaugh e94e9a8630 Merge commit 'upstream/master~450' into merge_7_25 2016-07-26 13:40:56 -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
Mohamed Hegazy 8157a61ff6 Use react as a module 2016-07-08 22:07:43 -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
Jon JaquesandMasahiro Wakame 17d06b6644 Add htmlAttributes property to HelmetProps per 3.x (#9686)
* Add htmlAttributes property to HelmetProps per 3.0

* Make htmlAttributes optional
2016-06-19 12:25:21 +09:00
Ryan Cavanaugh 2847235610 More fixes around __React 2016-05-12 17:07:04 -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 290d5dfb4d More fixes 2016-05-04 18:42:46 -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
Isman UsohandMasahiro Wakame 7492a4ca9f declare ReactHelmet namespace and fix error (#8929)
* declare ReactHelmet namespace and fix error

* Update react-helmet-tests.tsx
2016-04-23 15:38:49 +09:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
evanbb 59c05d5ed7 adding tests 2016-03-18 09:03:19 -05:00
evanbb c6e62c350f adding d.ts 2016-03-18 09:02:47 -05:00