Environment: SP2019 onprem
SPFx version: 1.4.1
All of sudden below error is coming while doing gulp build
or gulp serve
.
A tuple type element list cannot be empty.Error - typescript - src/webparts/displayStateInformation/components/DisplayStateInformation.tsx(14,4): error TS1122: A tuple type element list cannot be empty.
How to resolve this?
Below is my interface
export interface IItemsData {
k:[];
}
Error throwing for property k
DisplayStateInformation.tsx
file to your question? – Ganesh Sanap Aug 21 '19 at 6:27