Typescripts, copy of above