Commit Graph

17 Commits

Author SHA1 Message Date
Andy
ccdb9e03d1 Add tslint disables for no-unnecessary-generics (#19564) 2017-09-05 09:14:04 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Chuang Yu
90868bf24a update @types/react-test-renderer index.d.ts
fix #18953
2017-08-15 11:38:57 +08:00
Nathan Brown
8f42dfbc91 [react-test-renderer] Include update() and getInstance()
Added missing functions to definition of `react-test-renderer`.  Also renamed `create()` return type to match Flow type name in React repository.
2017-07-14 13:24:38 -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
Tanguy Krotoff
27acfc741a Change require('react') to import * as React from 'react' 2017-06-19 12:09:31 +02:00
John Reilly
ca84513e84 include missing file 2017-04-27 15:46:14 +01:00
John Reilly
3951802926 change reference 2017-04-27 15:39:05 +01:00
John Reilly
cff3ba9479 [React] Moved shallowRenderer into react-test-renderer as per https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#react-test-utils 2017-04-27 15:26:51 +01:00
lochbrunner
67c1073340 Change nextElement type to ReactElement<an> 2017-04-17 12:03:58 +02:00
lochbrunner
b112ad6729 Add unmount method 2017-04-17 11:12:11 +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