From 1f9a2508cfa95d990825dd3cd222d658fd403f79 Mon Sep 17 00:00:00 2001 From: Ray Singer Date: Sun, 24 Jul 2016 18:33:08 +1200 Subject: [PATCH] Update orientation type from number to string (#10215) When using this d.ts file I was getting a TS2345 error: Type 'string' is not assignable to type 'number'. Looks like it was just a copy and paste error or something. I've changed it from number to string. --- bootstrap-slider/bootstrap-slider.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-slider/bootstrap-slider.d.ts b/bootstrap-slider/bootstrap-slider.d.ts index 77a5177fa0..d830e3c45a 100644 --- a/bootstrap-slider/bootstrap-slider.d.ts +++ b/bootstrap-slider/bootstrap-slider.d.ts @@ -35,7 +35,7 @@ interface SliderOptions { * Default: 'horizontal' * set the orientation. Accepts 'vertical' or 'horizontal' */ - orientation?: number; + orientation?: string; /** * Default: 5 * initial value. Use array to have a range slider.