Add documentation on TS