mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Bug fixes: noty constructor typo, NotyOptions property timeout had bool instead of number type
This commit is contained in:
Vendored
+3
-3
@@ -13,7 +13,7 @@ interface NotyOptions {
|
||||
dismissQueue?: bool;
|
||||
template?: string;
|
||||
animation?: NotyAnimationOptions;
|
||||
timeout?: bool;
|
||||
timeout?: number;
|
||||
force?: bool;
|
||||
modal?: bool;
|
||||
closeWith?: Array;
|
||||
@@ -37,7 +37,7 @@ interface NotyCallbackOptions {
|
||||
|
||||
interface NotyStatic {
|
||||
|
||||
(NotyOptions?);
|
||||
(notyOptions: NotyOptions);
|
||||
|
||||
get(id: any);
|
||||
close(id: any);
|
||||
@@ -54,7 +54,7 @@ interface JQueryStatic {
|
||||
|
||||
declare var noty: {
|
||||
|
||||
(NotyOptions?);
|
||||
(notyOptions: NotyOptions);
|
||||
|
||||
show();
|
||||
close();
|
||||
|
||||
Reference in New Issue
Block a user