mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
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:
committed by
Mohamed Hegazy
parent
08786315ca
commit
163f4438df
4
types/materialize-css/index.d.ts
vendored
4
types/materialize-css/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user