You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[warning] Failed to resolve link to "searchValue" in comment for __type.replaceValue
[warning] Failed to resolve link to "replaceValue" in comment for __type
[warning] Failed to resolve link to "searchValue" in comment for __type
Nowhere in my codebase is anything named searchValue or replaceValue.
When I remove line 10, TypeDoc doesn't error out. It appears that TypeDoc is unable to handle this situation where an object is made to behave like a TypeScript enum.
I haven't found a workaround yet; adding @ignore doesn't work.
My warnings look slightly different:
Nowhere in my codebase is anything named
searchValue
orreplaceValue
.Repro is on this branch: https://github.com/electrovir/date-vir/tree/broken-docs. Repro steps are as follows:
npm i
in rootcd packages/date-vir && npm run docs
I'm also getting a project warning which I don't understand because I've never gotten it before and I use the same config in all my repos.
I've narrowed the issue down to this line: https://github.com/electrovir/date-vir/blob/broken-docs/packages/date-vir/src/timezone/timezones.ts#L10 (notice
Timezone
is both atype
and aconst
).When I remove line 10, TypeDoc doesn't error out. It appears that TypeDoc is unable to handle this situation where an object is made to behave like a TypeScript
enum
.I haven't found a workaround yet; adding
@ignore
doesn't work.Originally posted by @electrovir in #2715 (comment)
The text was updated successfully, but these errors were encountered: