From 72cb54fc60293fbce35a6c4de9f240f7e64afc5d Mon Sep 17 00:00:00 2001 From: Patrick Davies Date: Fri, 14 Aug 2015 11:32:12 -0400 Subject: [PATCH] added return type of the create function --- nouislider/nouislider.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nouislider/nouislider.d.ts b/nouislider/nouislider.d.ts index fac735ebd..cf5e93b42 100644 --- a/nouislider/nouislider.d.ts +++ b/nouislider/nouislider.d.ts @@ -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.