Commit Graph

19 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Peter Blazejewicz
e2971b3f44 Fix definition of ReactModal.setAppElement
This comit changes:
- definition of static setAppElement method to support string type - as
ReactModal allows to use selector instead of element reference
- sample tests to include static method coverage

Thanks!
2017-12-17 17:02:12 +01:00
Mark Raymond
690cdfbf93 Update react-modal typings for 3.1.6. 2017-12-01 14:03:12 +00:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Vladimir
7c80443b31 react-modal: Remove default export (#20165)
* Remove default export

Typescript not working with synthetic default import: https://github.com/reactjs/react-modal/issues/497

* Fix missing semicolon

* Replace synthetic default import by *

* Edit import statement
2017-10-06 13:41:24 -07:00
Nishchal Gautam
d1e720a15d remove patch version 2017-08-15 14:18:11 +07:00
Nishchal
6eb431b897 update version for react-modal 2017-08-15 14:13:23 +07:00
Nishchal Gautam
5a3cf56603 Update type definition
update type definition for contentLabel props (it was not required, but as of react-modal: 2.2.4, it's required). And order the props in same order as react-modal's source code so it's easy to compare in future.
2017-08-15 14:13:08 +07:00
Uwe Wiemer
ec574e7dad [react-modal] Updated typings to match v2.2.2 (#18628)
* Updated react-modal typings to match v2.2.2

* Fixed tests and CI issues

* Fixed spacing

* Added missing semicolon
2017-08-14 14:17:06 -07:00
Tatu Tamminen
43560c30f8 Added support for providing object to class names 2017-07-12 18:28:24 +03:00
Tanguy Krotoff
573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
3d13ec5399 Lint react-* packages (#15526) 2017-03-30 14:11:46 -07:00
Andy
e5ed4fc916 Apply new lint rules to even more files (#15445) 2017-03-28 10:56:00 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00