You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Type string[] is not assignable to type Array[]
Other?
The type of input variable [values] should be Array or string[] instead of Array[] which in SegmentedControlComponent,
or there's an error: Type string[] is not assignable to type Array[] in some code editor, not critical but less rigorous.
The text was updated successfully, but these errors were encountered:
Version
6.0.0
Environment
any
Reproduction link
ng-zorro-antd-mobile/components/segmented-control/segmented-control.component.ts
Line 18 in 09de58b
Steps to reproduce
<SegmentedControl [values]="['Segment1', 'Segment2']">
What is expected?
no error report
What is actually happening?
error: Type string[] is not assignable to type Array[]
Other?
The type of input variable [values] should be Array or string[] instead of Array[] which in SegmentedControlComponent,
or there's an error: Type string[] is not assignable to type Array[] in some code editor, not critical but less rigorous.
The text was updated successfully, but these errors were encountered: