TypeScript: Duplicate identifier 'IteratorResult'

后端 未结 10 1833
无人共我
无人共我 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 found this thread after googling the error. My problem was that somehow I had an unneeded import which caused this:

    import { error } from 'protractor';
    

提交回复
热议问题