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
#1029 introduced support for import * as __ from __ syntax, using namespaces. These namespaces are present in the rolled up .d.ts file, but they are absent (with a warning) in the corresponding .api.md file.
API markdown contains namespaces i1 and i2 that were generated
// from the dist/ .d.ts filedeclarenamespacei1{export{LoremDirective}}declarenamespacei2{export{IpsumDirective}}
Actual result:
API markdown doesn't have these namespaces and it contains warnings:
// @public (undocumented)exportclassLoremIpsumModule{// (undocumented)staticɵfac: i0.ɵɵFactoryDeclaration<LoremIpsumModule,never>;// (undocumented)staticɵinj: i0.ɵɵInjectorDeclaration<LoremIpsumModule>;// Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts// Warning: (ae-forgotten-export) The symbol "i2" needs to be exported by the entry point index.d.ts//// (undocumented)staticɵmod: i0.ɵɵNgModuleDeclaration<LoremIpsumModule,[typeofi1.LoremDirective,typeofi2.IpsumValidator]>;}
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/api-extractor version?
7.18.0
Operating system?
Mac
API Extractor scenario?
reporting (.api.md)
Would you consider contributing a PR?
Yes
TypeScript compiler version?
4.3.5
Node.js version (node -v)?
v14.15.3
The text was updated successfully, but these errors were encountered:
Summary
#1029 introduced support for
import * as __ from __
syntax, using namespaces. These namespaces are present in the rolled up.d.ts
file, but they are absent (with a warning) in the corresponding.api.md
file.Repro steps
Check out https://github.com/bgotink/api-extractor-repro-20210708, run
yarn
to install dependencies andyarn api-extractor run
to generate the files.Expected result:
API markdown contains namespaces
i1
andi2
that were generatedActual result:
API markdown doesn't have these namespaces and it contains warnings:
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?The text was updated successfully, but these errors were encountered: