mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Added inc overload that takes an amount
This commit is contained in:
Vendored
+8
-1
@@ -23,6 +23,13 @@ interface NProgressStatic {
|
||||
*/
|
||||
inc(): NProgressStatic;
|
||||
|
||||
/**
|
||||
* Increments the progress bar with a set amount.
|
||||
* @param {number} amount This will get the current status value and adds the value until status is max 0.994
|
||||
* @returns {NProgressConfigureOptions} The current NProgress object, useful for chaining.
|
||||
*/
|
||||
inc(amount: number): NProgressStatic;
|
||||
|
||||
/**
|
||||
* Removes the progress indicator.
|
||||
*/
|
||||
@@ -102,4 +109,4 @@ interface NProgressConfigureOptions {
|
||||
template?: string;
|
||||
}
|
||||
|
||||
declare var NProgress: NProgressStatic;
|
||||
declare var NProgress: NProgressStatic;
|
||||
|
||||
Reference in New Issue
Block a user