Fixed return type of #status()

This commit is contained in:
Martin McWhorter
2014-12-16 10:54:37 +00:00
parent 1ef72fa99d
commit d4934072f6
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -6,10 +6,7 @@ var ngProgress: NgProgress.INgProgress = <any> {};
ngProgress.start();
ngProgress.height('10px');
ngProgress.color('red');
var statusResult: number = undefined;
ngProgress.status();
var statusResult: number = ngProgress.status();
ngProgress.stop();
ngProgress.set(50);
ngProgress.reset();
+1 -1
View File
@@ -9,7 +9,7 @@ declare module NgProgress {
start(): void;
height(height: string): void;
color(color: string): void;
status(): string;
status(): number;
stop(): void;
set(value: number): void;
reset(): void;