Merge pull request #32701 from AnthonyLenglet/master

@types/nouislider : Make create function return a NoUiSlider instance
This commit is contained in:
Pranav Senthilnathan
2019-02-01 10:56:12 -08:00
committed by GitHub
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for nouislider v9.0.0
// Type definitions for nouislider v9.0.1
// Project: https://github.com/leongersen/noUiSlider
// Definitions by: Patrick Davies <https://github.com/bleuarg>, Guust Nieuwenhuis <https://github.com/lagaffe>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -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 {
/**