Indigosoft / ngxd

✨🦊 NgComponentOutlet + Data-Binding + Full Lifecycle = NgxComponentOutlet for Angular 7, 8, 9, 10, 11, 12, 13, 14, 15, 16+
MIT License
321 stars 29 forks source link

Angular 14.1.0 issue with implementing ComponentRef #48

Closed tiberiuzuld closed 2 years ago

tiberiuzuld commented 2 years ago

Error: node_modules/@ngxd/core/lib/adapter/adapter.experimental.d.ts:39:22 - error TS2720: Class 'DynamicComponentRef<T>' incorrectly implements class 'ComponentRef<T>'. Did you mean to extend 'ComponentRef<T>' and inherit its members as a subclass?
  Property 'setInput' is missing in type 'DynamicComponentRef<T>' but required in type 'ComponentRef<T>'.

39 export declare class DynamicComponentRef<T> implements ComponentRef<T> {
                        ~~~~~~~~~~~~~~~~~~~

  node_modules/@angular/core/index.d.ts:1377:14
    1377     abstract setInput(name: string, value: unknown): void;
                      ~~~~~~~~
    'setInput' is declared here.

I think it has to do with:

thekiba commented 2 years ago

Thank you, I will look into this issue and fix it as soon as possible

Vladyslav-Hrossu commented 2 years ago

@thekiba Hi there! Any estimations when the 14+ version will be released?

thekiba commented 2 years ago

@tiberiuzuld @Vladyslav-Hrossu, I apologize for the long answer. The new version is now available for use. Message to me if you have any problems.