SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,740 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have the following TypeScript file inside our SharePoint sPFx:-
//
it looks like it fails on this line:
const placeholders = [...this.state.uploadPlaceholders];
check whether this.state.uploadPlaceholders is array (try to output console.log(JSON.stringify(this.state.uploadPlaceholders))) or try to replace it by simpler expression without 3 dots notation