【发布时间】:2021-12-03 19:32:17
【问题描述】:
type S=string|undefined;
declare global {
export interface String {
/**
* returns string between borders
* @param borderA - left border
* @param borderB - right border
* @param aIsFirst - true if borderA is first, false if is last
* @param bIsFirst - true if borderB is first, false if is last
*/
between(borderA:S, borderB:S, aIsFirst:boolean, bIsFirst:boolean):S;
}
}
typedoc 命令:typedoc --out ./documentation/ src/
它生成带有 HTML 的文件夹,取自 README.md,但在那里找不到我的界面的痕迹...
【问题讨论】:
-
对同一件事非常好奇。我的错误是
Block, defined at src/types/block.types.ts:2, is referenced by EssentialEth.getBlock.getBlock but not included in the documentation.
标签: typescript typedoc