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
This commit is contained in:
Nathan Shively-Sanders
2017-06-04 22:03:03 -07:00
committed by Mohamed Hegazy
parent 08786315ca
commit 163f4438df
49 changed files with 133 additions and 109 deletions

View File

@@ -317,7 +317,7 @@ declare namespace Materialize {
* It will only be called once.
* Example: 'console.log("hello, world!")';
*/
callback?: Function;
callback?: string;
}
interface TabOptions {
@@ -393,7 +393,7 @@ declare namespace Materialize {
*
* @name options optional parameter with scroll fire options
*/
scrollFire(options?: ScrollFireOptions): void;
scrollFire(options?: ScrollFireOptions[]): void;
/**
* A staggered reveal effect for any UL Tag with list items