Skip to content

Commit 7a2ad99

Browse files
committed
fix(range): set ticks to an empty array to prevent errors
1 parent 69169c5 commit 7a2ad99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/range/range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class Range implements AfterViewInit, ControlValueAccessor, OnDestroy {
210210
private _active: RangeKnob;
211211
private _start: Coordinates = null;
212212
private _rect: ClientRect;
213-
private _ticks: any[];
213+
private _ticks: any[] = [];
214214
private _barL: string;
215215
private _barR: string;
216216

0 commit comments

Comments
 (0)