Commit Graph

24 Commits

Author SHA1 Message Date
spacejack
fff1fb67be Add other component types for onmatch return type (#20378) 2017-10-09 14:42:37 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
6e1ad980e8 mithril: Fix no-self-import lint failures (#20366) 2017-10-06 13:59:04 -07:00
spacejack
d449dd4c0b Add request config options param. Updates to pass new linting rules. 2017-09-11 00:04:32 -04:00
Andy
1b54a38a43 Fix remaining lint errors (#19219) 2017-08-21 14:14:31 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
spacejack
af84d72ae6 Fix RequestOptions.config return type (#18458) 2017-07-28 07:06:55 -07:00
Andy
af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
Tomek Łaziuk
947453935b tag may be any component type (#18226) 2017-07-20 01:25:23 -07:00
András Parditka
5db985c075 Added workaround for TS 2.4. 2017-06-10 07:27:37 +02:00
andraaspar
9515215657 Make Mithril component use more strict.
* Removed ‘[s: string]: any’ from Lifecycle.
* Added tests for component use. ‘Object literal may only specify known properties’ is the important piece.
2017-06-09 13:57:00 +02:00
Nathan Shively-Sanders
163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00
andraaspar
0129c3b4a2 Fixed tslint rules. 2017-05-19 15:32:24 +02:00
andraaspar
e724b60c92 Improve feedback & auto-completion in attribute objects. 2017-05-18 11:43:55 +02:00
spacejack
4d4b29f563 Fixes for RouteResolver type and ClassComponent view method. (#16232) 2017-05-01 13:16:42 -07:00
Andy
9ee1d80490 Mithril: fix new excess property check (#15985) 2017-04-19 10:09:54 -07:00
Andy
8779c5d029 mithril: Apply more lint rules (#15863) 2017-04-18 13:54:27 -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
spacejack
9324d7a560 Remove unnecessary interface types, fix some sub-module definitions, update tests. 2017-04-04 00:53:10 -04:00
spacejack
c749c10a1e Updates for new tslint rules 2017-03-30 22:06:43 -04:00
spacejack
eaeb1cba08 Type signature fixes 2017-03-30 21:48:47 -04:00
spacejack
ed0cfdd8aa Extend DT tslint.json, code style updates. 2017-03-29 21:40:04 -04:00
spacejack
8e1326969f Type definitions for Mithril 1.1 2017-03-28 20:47:25 -04:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00