Open guoyunhe opened 1 year ago
Could you just update your source file to use non-deprecated syntax? It is usually a pretty easy change.
Could you just update your source file to use non-deprecated syntax? It is usually a pretty easy change.
Changing export = something
to export default something
or export { something }
is a breaking change. Unluckily, I cannot do this at this moment. In next major version I will switch to export { something }
.
Summary
In some old commonjs project, we use
export = something
syntax.tsc
generates normal *.d.ts declarations. However, when rollup declaration with API Extractor, the result is empty:Repro steps
Expected result:
Actual result:
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?