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
Thomas Townsend
9aaced7515
Remove MapStore for flux v3.0 ( #13819 )
...
* Remove MapStore for flux v3.0
* Add version to header
* Add new api changes
* Remove unneeded dependency on immutable
* Remove package.json file for flux
2017-01-10 06:34:19 -08:00
Andy
3d6a15ee16
Strip BOM from all files ( #13735 )
2017-01-04 12:07:53 -08:00
Andy
9159c2cf81
immutable provides its own types (#13365 )
2016-12-28 10:48:24 -05: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
cd4debea25
Remove BOM character from the start of files ( #12838 )
2016-11-28 10:40:45 -08:00
Mohamed Hegazy
4680eaf20a
Add flux/utils/index.d.ts as an entry point
2016-08-16 13:43:28 -07:00
Ryan Cavanaugh
3e0607feb4
Tests passing
2016-07-26 16:10:38 -07:00
Ryan Cavanaugh
e94e9a8630
Merge commit 'upstream/master~450' into merge_7_25
2016-07-26 13:40:56 -07:00
Ryan Cavanaugh
ede3f0a99c
Merge commit 'upstream/master~550' into merge_7_25
2016-07-26 11:29:27 -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
Thomas Townsend
a1c646f26a
Update flux typings ( #9592 )
...
* Make fbemitter a namespace
* Tighten up typing of flux
* Update flux tests
* Address code comments
* Fix RealOptions interface
2016-06-19 02:55:31 +09:00
Dovydas Navickas
57e2cfcf83
Fix broken link to author ( #9552 )
2016-06-08 15:11:34 +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
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
John Reilly
957c41c644
Update flux.d.ts
...
Replaced dependency upon `react-global.d.ts` in favour of the more targeted `react.d.ts`
2015-12-09 14:41:05 +00:00
Giedrius Grabauskas
06911fd64b
Changed to use basicDispatcher in Store.
2015-11-25 03:08:28 +02:00
Giedrius Grabauskas
3201084d33
Fixed mistype
2015-11-25 03:02:37 +02:00
Giedrius Grabauskas
01f5b8f246
Store called and moved to cosnt.
2015-11-25 03:00:46 +02:00
Giedrius Grabauskas
3f99edd466
Object changed to any.
2015-11-25 02:49:06 +02:00
Giedrius Grabauskas
b8ce2921dc
ReduceStore import updated and changed extends.
2015-11-25 02:45:53 +02:00
Giedrius Grabauskas
5eb0edcee2
Fixed test errors
2015-11-25 02:40:50 +02:00
Giedrius Grabauskas
f67ea5412d
Removed JSX elements.
2015-11-25 02:33:58 +02:00
Giedrius Grabauskas
66f52639ef
Added test code
2015-11-25 02:26:37 +02:00
Giedrius Grabauskas
56fa333e5a
Imported FluxUtils and React
...
Imported FluxUtils and React modules and added react typescript definitions reference.
2015-11-25 02:25:09 +02:00
Giedrius Grabauskas
ed11abd71a
Removed immutable
...
Immutable changed to any and added TODO.
2015-11-24 14:19:08 +02:00
Giedrius Grabauskas
9617349830
Added references
...
Added immutable and react references.
2015-10-19 19:06:19 +03:00
Giedrius Grabauskas
3d4207f11f
Update flux.d.ts
...
Content moved from flux-utils.d.ts
2015-10-19 18:56:13 +03:00
Giedrius Grabauskas
438f5535c7
Delete flux-utils.d.ts
2015-10-19 18:55:20 +03:00
Giedrius Grabauskas
640536586a
flux-utils definitions added.
2015-10-15 15:17:03 +03:00
Jordan Potter
779cfc550a
Make Flux definitions global/external agnostic
2015-07-06 17:03:24 -07:00
Steve Baker
a95a88b189
flux definitions
2014-11-14 10:30:52 +01:00