mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Update ngbootbox-tests.ts
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
class TestBootboxController {
|
||||
|
||||
constructor(private $scope: angular.IScope, $ngBootbox: IBootboxService) {
|
||||
constructor(private $scope: angular.IScope, $ngBootbox: BootboxService) {
|
||||
|
||||
$ngBootbox.alert('An important message!').then(function() {
|
||||
console.log('Alert closed');
|
||||
@@ -21,7 +21,7 @@ class TestBootboxController {
|
||||
console.log('Prompt dismissed!');
|
||||
});
|
||||
|
||||
var options: IBootboxDialog = {
|
||||
var options: NgBootboxDialog = {
|
||||
message: 'This is a message!',
|
||||
title: 'The title!',
|
||||
className: 'test-class',
|
||||
|
||||
Reference in New Issue
Block a user