isaacs / node-lru-cache

A fast cache that automatically deletes the least recently used items
http://isaacs.github.io/node-lru-cache/
ISC License
5.35k stars 353 forks source link

docs: fix unresolved @link comments #359

Closed lukekarrys closed 1 week ago

lukekarrys commented 1 week ago

before

❯ npx typedoc --tsconfig ./.tshy/esm.json "./src/*.ts" --validation.invalidLink --treatValidationWarningsAsErrors; echo $?
[warning] The signature ZeroArray.reduce has an @param with name "initialValue", which was not used
[warning] The signature ZeroArray.reduceRight has an @param with name "initialValue", which was not used
[warning] Failed to resolve link to "LRLUCache#load" in comment for LRUCache.dump
[warning] Failed to resolve link to "OptionsBase.fetchMethod" in comment for LRUCache.forceFetch
[warning] Failed to resolve link to "MemoerOptions.context" in comment for LRUCache.MemoizerMemoOptions
[warning] Found 0 errors and 5 warnings
4

after

❯ git co patch-1
Switched to branch 'patch-1'
Your branch is up to date with 'origin/patch-1'.
❯ npx typedoc --tsconfig ./.tshy/esm.json "./src/*.ts" --validation.invalidLink --treatValidationWarningsAsErrors; echo $?
[warning] The signature ZeroArray.reduce has an @param with name "initialValue", which was not used
[warning] The signature ZeroArray.reduceRight has an @param with name "initialValue", which was not used
[info] Documentation generated at ./docs
[warning] Found 0 errors and 2 warnings
0