Fix some promises
Replace node-typescript with typestring