updated to ts

changed some config