12345678910 |
- <%
- const { contract, utils } = it;
- const { formatDescription, require, _ } = utils;
- %>
- export interface <%~ contract.name %> {
- <% _.forEach(contract.$content, (field) => { %>
- <%~ includeFile('./object-field-jsdoc.ejs', { ...it, field }) %>
- <%~ field.name %><%~ field.isRequired ? '' : '?' %>: <%~ field.value %><%~ field.isNullable ? ' | null' : ''%>;
- <% }) %>
- }
|