declarations
Version:
[](https://www.npmjs.com/package/declarations)
25 lines (19 loc) • 635 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/DefinitelyTyped/DefinitelyTyped
declare namespace 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;
}
}