Commit Graph

16 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
2a9d2f8d59
Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Evtushenko Alexandr
0571eabcdc Update react-overlays to v0.8, fix transition prop type in react-overlays library, remove react-overlays/Transition (#23206)
* Add `react-overlays/Overlay` component test.

* Fix `react-overlays/Overlay` and `react-overlays/Modal` components.

* Remove `react-overlays/Transition`.

* Set `react-overlays` version to v0.8.
2018-01-29 12:45:16 -08:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Dima Livshits
0f88a0e41e add className prop and make manager prop optional 2017-09-11 17:17:18 +03:00
Anton Vasin
60cbeef407 Make transition prop optional
This prop is optional in both `<Modal />` and `<Overlay />` components
2017-08-29 14:55:55 +03:00
Vito
0a1c229ee5 refactor react-overlays into individual modules (#18197)
* refactor react-overlays into individual modules

also adds correct definitions for some modules whose definitions
were incorretly being imported from react-bootstrap.
(react-bootstrap depends on react-overlays, not the other way around)

* use exported namespace hack instead of default exports
2017-07-24 10:05:39 -07: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
e50f8878a5 Use new strict-export-declare-modifiers lint rule (#15844) 2017-04-14 08:20:12 -07: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 Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00