Open Ragnar-Oock opened 1 year ago
Same here.
Actually it looks like AE doesn't resolve links to native API at all. I'm not sure if it did when I first opened this issue.
sample code :
interface NotAnArray {
/**
* Same as {@link Array.prototype.flatMap}
*/
flatMap<returnType>(callback: (resource: resource) => returnType | returnType[]): returnType[];
(ae-unresolved-link) The @โlink reference could not be resolved: The package "[package name]" does not have an export "Array"
update on affected setup :
Question | Answer |
---|---|
@microsoft/api-extractor version? |
7.42.3 |
Operating system? | Windows 10 and Ubuntu 22.04 WSL |
API Extractor scenario? | rollups (.d.ts) |
Would you consider contributing a PR? | No |
TypeScript compiler version? | 5.4.2 and 5.3.3 |
Node.js version (node -v )? |
20.11.0 |
Summary
@link
when used in a@throws
section with a native error, will lead api-extractor to print a warning in the console.Repro steps
When writing
api-extractor will output the following warning :
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?