mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix compile errors
This commit is contained in:
Vendored
+2
-6
@@ -97,7 +97,7 @@ declare module toasty {
|
||||
* Clear toast(s).
|
||||
* @param id Optional ID to clear a specific toast.
|
||||
*/
|
||||
clear(id?): void;
|
||||
clear(id?: number): void;
|
||||
|
||||
/**
|
||||
* Get the global config.
|
||||
@@ -245,11 +245,7 @@ declare module toasty {
|
||||
}
|
||||
|
||||
interface IToastyConfigProvider {
|
||||
/**
|
||||
*
|
||||
* @param override
|
||||
*/
|
||||
setConfig(override: IGlobalConfig);
|
||||
setConfig(override: IGlobalConfig): void;
|
||||
$get(): IGlobalConfig;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user