TypeScript: Duplicate identifier 'IteratorResult'

后端 未结 10 1837
无人共我
无人共我 2020-12-15 01:59

I\'m trying to compile via tsc--which I\'ve installed globally--and I\'m getting an error:

~/AppData/R         


        
10条回答
  •  南方客
    南方客 (楼主)
    2020-12-15 02:38

    I resolved this issue manually by commenting one of the interface "IteratorResult" declaration in node_modules/@types/node/index.d.ts file. Hope this will help.

提交回复
热议问题