CMS-1542: TypeScript: LiveEdit: add return type to all functions