Skip to content

Instantly share code, notes, and snippets.

@tzmfreedom
Last active December 23, 2019 04:17
Show Gist options
  • Save tzmfreedom/219ac4eeb31d15a9db1474c6d6921563 to your computer and use it in GitHub Desktop.
Save tzmfreedom/219ac4eeb31d15a9db1474c6d6921563 to your computer and use it in GitHub Desktop.
class <%= name %> {
constructor() {
this.params = [<%- fields.map(f => `'${f.name}'`).join(','); %>];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment