JS -> TS