dkhrunov / ngx-mfe

Angular library for working with micro-frontends in Webpack 5 and plugin ModuleFederation
https://www.npmjs.com/package/ngx-mfe
MIT License
22 stars 4 forks source link

ɵɵDirectiveDeclaration error - invalid amout of parameters #26

Open HagayLevyNice opened 3 months ago

HagayLevyNice commented 3 months ago

Version 15.1 Getting a compile error Error: node_modules/ngx-mfe/lib/directives/mfe-outlet.directive.d.ts:45:18 - error TS2707: Generic type 'ɵɵDirectiveDeclaration' requires between 6 and 8 type arguments.

45 static ɵdir: i0.ɵɵDirectiveDeclaration<MfeOutletDirective, "[mfeOutlet]", ["mfeOutlet"], { "mfeApp": "mfeOutlet"; "mfeComponent": "mfeOutletComponent"; "mfeModule": "mfeOutletModule"; "inputs": "mfeOutletInputs"; "outputs": "mfeOutletOutputs"; "injector": "mfeOutletInjector"; "loader": "mfeOutletLoader"; "loaderDelay": "mfeOutletLoaderDelay"; "fallback": "mfeOutletFallback"; "options": "mfeOutletOptions"; }, {}, never, never, false, never>;

Any idea how to fix it?

dkhrunov commented 2 months ago

Can you give a bit more information about your implementation? Repo with code or code snippet?