Commit Graph

10 Commits

Author SHA1 Message Date
Janeene Beeforth
2fd2214dcc Make requested changes.
I still don't understand why the requested change is beneficial. Local testing shows that using the default "any" type for the generics results in all typechecking of parameters/outputs based on the generic type being disabled by the change.
2017-11-07 00:41:59 +11:00
Janeene Beeforth
8c3f5307ce Improve generics further. 2017-10-31 21:00:11 +11:00
Janeene Beeforth
5b29f887df Updates based on review feedback.
* Remove Row/RowKey/Cell
* Use generics where they provide useful type safety
2017-10-31 18:26:55 +11:00
Janeene Beeforth
5846c7a080 Update to react-bootstrap-table version 4.0.6
* Add v2 directory with the previous 2.8 types.
* Updated onCellEdit test to match library functionality.
  The onCellEdit function was altered in version 2.4.3 to require returning
  the final cell value from the function. This permits altering the value
  before it gets saved.
* Many options were missing, or their values were out of date.
* Add a lot of new tests based on example code in react-bootstrap-table.
* Remove the rule overrides in tslint for version 4.0.6
* Remove newly-forbidden @type & @memberof JSDoc tags.
2017-10-25 21:31:31 +11:00
Andrey Kurdyumov
82ace18841 [react-bootstrap-table] Add thStyle, tdStyle, tdAttr properties to TableHeaderColumn (#19910)
* Add thStyle, tdStyle, tdAttr properties to TableHeaderColumn
Also style apply TSLint rules where it was fast to implement without introducing issues.

* Fix missed TSLint warnings
2017-09-26 11:40:20 -07:00
mikeyGlitz
c7cb14ca45 Updated test to reflect remote changes
Second class, remoteBool to test for remote is boolean
2017-09-12 09:47:47 -04:00
Michael Glitzos
c510750a11 Updated definition of remote
Added additional properties to satisfy options for react-bootstrap-table v3.
2017-08-30 18:33:34 -04: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
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00