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
import{Subject}from"rxjs";constsubject=newSubject<void>();// This should return `Observable<void>exportfunctiononEvent(){returnsubject.asObservable();}
Expected output
The Observable<void> should be inlined, no need to import rxjs package.
Bug report
The
--external-inlines
not bundle all used types.Input code
Expected output
The
Observable<void>
should be inlined, no need to importrxjs
package.Actual output
But
Observable
still not be inlined, and need to importrxjs
package.Additional context
I use the following command to bundle:
pnpm dts-bundle-generator ./src/app.ts --external-inlines 'rxjs'
The text was updated successfully, but these errors were encountered: