Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. {{#each imports}}
  2. import { {{{importName}}} } from '{{path}}'
  3. {{/each}}
  4.  
  5. export class {{className}} {{#each extends}}extends {{extendsName}} {{#unless @last}}, {{/unless}} {{/each}}{{#each implements}}implements {{implementsName}} {{#unless @last}}, {{/unless}} {{/each}}{
  6.  
  7. {{#each variables}}
  8. {{#isStatic}}static {{/isStatic}}{{variableName}}: any {{#variableValue}}={{/variableValue}} {{variableValue}}
  9. {{/each}}
  10.  
  11. constructor({{#each constructorParams}}{{nameParam}}: any{{#unless @last}}, {{/unless}} {{/each}}) {
  12. {{{corpsConstructor}}}
  13. }
  14.  
  15. {{#each functions}}
  16. {{#isOverride}}override{{/isOverride}}{{name}}({{#each params}}{{nameParam}}: any{{#unless @last}}, {{/unless}}{{/each}}) {
  17. {{{corps}}}
  18. }
  19.  
  20. {{/each}}
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement