We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report
Namespace import disappeared starting from version 9.4.0
9.4.0
My use case is generating a bundle from Typescript definition files emitted after building an Angular library. But could reproduce it manually. See:
https://github.com/davidlj95/dts-bundle-generator-missing-import-repro
Fortunately, the check step found out the output was missing that import
Input code
import { ModuleWithProviders } from '@angular/core'; import * as i0 from "@angular/core"; export declare class SampleModule { static forRoot(): ModuleWithProviders<unknown>; static ɵfac: i0.ɵɵFactoryDeclaration<unknown, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<unknown, never, never, never>; static ɵinj: i0.ɵɵInjectorDeclaration<unknown>; }
Expected output
// Generated by dts-bundle-generator v9.4.0 import { ModuleWithProviders } from '@angular/core'; import * as i0 from "@angular/core"; export declare class SampleModule { static forRoot(): ModuleWithProviders<unknown>; static ɵfac: i0.ɵɵFactoryDeclaration<unknown, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<unknown, never, never, never>; static ɵinj: i0.ɵɵInjectorDeclaration<unknown>; } export {};
Actual output
// Generated by dts-bundle-generator v9.4.0 import { ModuleWithProviders } from '@angular/core'; export declare class SampleModule { static forRoot(): ModuleWithProviders<unknown>; static ɵfac: i0.ɵɵFactoryDeclaration<unknown, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<unknown, never, never, never>; static ɵinj: i0.ɵɵInjectorDeclaration<unknown>; } export {};
Additional context Add any other context about the problem here (CLI options, etc)
See minimal repro repo https://github.com/davidlj95/dts-bundle-generator-missing-import-repro
The text was updated successfully, but these errors were encountered:
Broken in eb862bf
Sorry, something went wrong.
aa5a334
Thanks for reporting the issue! The fix has been published in v9.5.1.
Awesome 💪 Thanks to you for this great project ❤️
timocov
No branches or pull requests
Bug report
Namespace import disappeared starting from version
9.4.0
My use case is generating a bundle from Typescript definition files emitted after building an Angular library. But could reproduce it manually. See:
https://github.com/davidlj95/dts-bundle-generator-missing-import-repro
Fortunately, the check step found out the output was missing that import
Input code
Expected output
Actual output
Additional context
Add any other context about the problem here (CLI options, etc)
See minimal repro repo
https://github.com/davidlj95/dts-bundle-generator-missing-import-repro
The text was updated successfully, but these errors were encountered: