mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
added return type of the create function
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ interface noUiSliderStatic {
|
||||
/**
|
||||
* To create a slider, call noUiSlider.create() with an element and your options.
|
||||
*/
|
||||
create(target: HTMLElement, options: noUiSliderOptions);
|
||||
create(target: HTMLElement, options: noUiSliderOptions): void;
|
||||
/**
|
||||
* To get the current slider value. For one-handle sliders, calling .get() will return the value.
|
||||
* For two-handle sliders, an array[value, value] will be returned.
|
||||
|
||||
Reference in New Issue
Block a user