replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+8 -8
View File
@@ -10,7 +10,7 @@ declare module "angular-toastr" {
export = _;
}
declare module angular.toastr {
declare namespace angular.toastr {
interface IToastBaseConfig {
allowHtml?: boolean;
closeButton?: boolean;
@@ -77,13 +77,13 @@ declare module angular.toastr {
interface IToastrService {
/**
* Return the number of active toasts in screen.
*/
*/
active(): number;
/**
* Remove toast from screen. If no toast is passed in, all toasts will be closed.
*
* @param {IToast} toast Optional toast object to delete
*/
*/
clear(toast?: IToast): void;
/**
* Create error toast notification message.
@@ -91,7 +91,7 @@ declare module angular.toastr {
* @param {String} message Message to show on toast
* @param {String} title Title to show on toast
* @param {IToastOptions} options Override default toast options
*/
*/
error(message: string, title?: string, options?: IToastOptions): IToast;
/**
* Create info toast notification message.
@@ -99,7 +99,7 @@ declare module angular.toastr {
* @param {String} message Message to show on toast
* @param {String} title Title to show on toast
* @param {IToastOptions} options Override default toast options
*/
*/
info(message: string, title?: string, options?: IToastOptions): IToast;
/**
* Create success toast notification message.
@@ -107,7 +107,7 @@ declare module angular.toastr {
* @param {String} message Message to show on toast
* @param {String} title Title to show on toast
* @param {IToastOptions} options Override default toast options
*/
*/
success(message: string, title?: string, options?: IToastOptions): IToast;
/**
* Create warning toast notification message.
@@ -115,7 +115,7 @@ declare module angular.toastr {
* @param {String} message Message to show on toast
* @param {String} title Title to show on toast
* @param {IToastOptions} options Override default toast options
*/
*/
warning(message: string, title?: string, options?: IToastOptions): IToast;
}
}
}