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.
This commit is contained in:
Ray Singer
2016-07-24 18:33:08 +12:00
committed by Mohamed Hegazy
parent 0c98b15167
commit 1f9a2508cf

View File

@@ -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.