Expression produces a union type that is too complex to represent. ts(2590)
- .vscode 폴더 root에 생성하시고 , setting.json 파일 생성
- 이후 아래 입력하시고,
{
"typescript.tsdk": "node_modules/typescript/lib"
}
- F1 눌러서, typescript 검색하시고, Select Typescript Version에서 Use Workspace Version로 변경해주시면 해결됩니다.