DefinitelyTyped/ngprogress/ngprogress.d.ts
2016-01-19 17:17:59 -08:00

25 lines
632 B
TypeScript

// Type definitions for ngProgress 1.0.7
// Project: http://victorbjelkholm.github.io/ngProgress/
// Definitions by: Martin McWhorter <https://github.com/martinmcwhorter>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module NgProgress {
export interface INgProgress {
start(): void;
height(height: string): void;
color(color: string): void;
status(): number;
stop(): void;
set(value: number): void;
reset(): void;
complete(): void;
}
export interface INgProgressFactory {
createInstance(): INgProgress;
}
}