Make create function return a NoUiSlider instance

This commit is contained in:
Anthony Lenglet
2019-02-01 10:38:27 +01:00
committed by GitHub
parent 028e633351
commit 5564aca45c
+1 -1
View File
@@ -11,7 +11,7 @@ declare namespace noUiSlider {
/**
* To create a slider, call noUiSlider.create() with an element and your options.
*/
function create(target: HTMLElement, options: Options): void;
function create(target: HTMLElement, options: Options): noUiSlider.noUiSlider;
interface Options {
/**