Rush StackShopBlogEvents
メインコンテンツへスキップ

ae-unresolved-inheritdoc-reference

「@inheritDoc参照を解決できませんでした。」

備考

TSDoc 宣言参照を解決できない場合に発生します。たとえば。

/**
* Some documentation that we want to inherit
*/
export function f1(): void {}

/** {@inheritDoc g1} */ // <-- we misspelled "f1"
export function f2(): void {}

// Warning: The @inheritDoc reference could not be resolved:
// The package does not have an export "g1".

修正方法

参照を修正します。上記の例では、f2() のコメントを次のように変更します。

/** {@inheritDoc f1} */
export function f2(): void {}

関連項目