diff --git a/ngbootbox/ngbootbox.d.ts b/ngbootbox/ngbootbox.d.ts index b81a07501..4c6233dab 100644 --- a/ngbootbox/ngbootbox.d.ts +++ b/ngbootbox/ngbootbox.d.ts @@ -6,7 +6,7 @@ /// /// -interface IBootboxDialog { +interface NgBootboxDialog { title?: string; message?: string; templateUrl?: string; @@ -22,7 +22,7 @@ interface IBootboxDialog { buttons?: BootboxButtonMap; } -interface IBootboxService { +interface BootboxService { alert(msg: string): Promise; confirm(msg: string): Promise; prompt(msg: string): Promise; @@ -35,4 +35,4 @@ interface IBootboxService { setLocale(name: string): void; } -declare var $ngBootbox: IBootboxService; +declare var $ngBootbox: BootboxService;