UNPKG

huncwot

Version:

A Programming Environment for TypeScript apps built on top of VS Code

10 lines (8 loc) 206 B
const generate = ({ name }) => ` export class ${name} implements I${name} { private hostname: string private fetch: Fetch private path = '/rpc/${name}/' } `; console.log(generate({ name: 'User' }));