typescript refactor
Coffee Docs