MCPcopy Create free account
hub / github.com/SimplrJS/ts-docs-gen / Render

Method Render

packages/ts-docs-gen/src/debug.ts:18–29  ·  view source on GitHub ↗
(options: PluginOptions, apiItem: Contracts.ApiDefinition)

Source from the content-addressed store, hash-verified

16 }
17
18 public Render(options: PluginOptions, apiItem: Contracts.ApiDefinition): PluginResult {
19 return {
20 ...GeneratorHelpers.GetDefaultPluginResultData(),
21 Reference: options.Reference,
22 ApiItem: apiItem,
23 Result: [
24 "# Debug Plugin",
25 "",
26 `${apiItem.Name}: ${apiItem.ApiKind}`
27 ]
28 };
29 }
30}
31
32async function Main(): Promise<void> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected