mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #32701 from AnthonyLenglet/master
@types/nouislider : Make create function return a NoUiSlider instance
This commit is contained in:
Vendored
+2
-2
@@ -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 {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user