In my case, i had an interface and was trying to instantiate an instance of it in another file.
wrong: let obj = new IMyInterface()
let obj = new IMyInterface()
correct: let obj : IMyInterface = {}
let obj : IMyInterface = {}