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
Andy
219dd6df82
Fix 'prefer-readonly' lint failures ( #22819 )
2018-01-10 14:59:37 -08:00
John Gozde
bbf3e9cb0b
[react]: Remove deprecated+removed APIs ( #20409 )
...
* create-react-class: add definitions
* react-dom-factories: add definitions
* create-react-class: add tests, fix errors
* react-dom-factories: add tests, fix lint
* react: remove previously deprecated APIs
* Remove deprecated usages in other definitions
* redux-form: disable strictFunctionTypes
Changes to react typings revealed errors in redux-form that are present
in 'master'. This needs to be handled separately.
* Update create-react-class, react-dom-factories author
* Avoid importing create-react-class where possible
* Move top-level createReactClass tests to create-react-class
2017-10-16 15:22:04 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07: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
Tanguy Krotoff
27acfc741a
Change require('react') to import * as React from 'react'
2017-06-19 12:09:31 +02:00
Andy
fa2480ba61
Remove more namespaces from tests ( #16029 )
2017-04-20 09:06:00 -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