Convert server to TypeScript