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
Hello, I'm getting import errors in file d.ts after build with option rollupTypes: true.
As you can see bellow, in d.ts file is redundant import of User interface.
This looks very similar to an issue that I have reported as microsoft/rushstack#5126 and that also seems to be tracked as microsoft/rushstack#5106. As a workaround, downgrade @microsoft/api-extractor to 7.48.1. For yarn, specify this in your package.json (for yarn workspaces, specify it in the root package):
Describe the bug
Hello, I'm getting import errors in file d.ts after build with option rollupTypes: true.
As you can see bellow, in d.ts file is redundant import of User interface.
Reproduction
Steps to reproduce
Project structure:

Vite config:
package.json:
get-user.ts:
some-util.ts:
types.ts:
(After build)
index.d.ts:
System Info
Validations
The text was updated successfully, but these errors were encountered: