mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
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:
committed by
Mohamed Hegazy
parent
0c98b15167
commit
1f9a2508cf
2
bootstrap-slider/bootstrap-slider.d.ts
vendored
2
bootstrap-slider/bootstrap-slider.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user