MCPcopy Create free account
hub / github.com/2fd/graphdoc / interfaces

Method interfaces

plugins/document.schema/index.ts:307–312  ·  view source on GitHub ↗
(type: SchemaType)

Source from the content-addressed store, hash-verified

305 }
306
307 interfaces(type: SchemaType): string {
308
309 return html.line(html.keyword('interface') + ' ' + html.identifier(type) + ' {') +
310 this.fields(type) +
311 html.line('}');
312 }
313
314 object(type: SchemaType): string {
315

Callers 1

codeMethod · 0.95

Calls 4

fieldsMethod · 0.95
lineMethod · 0.80
keywordMethod · 0.80
identifierMethod · 0.80

Tested by

no test coverage detected