ngxd
ngxd copied to clipboard
Angular 14.1.0 issue with implementing ComponentRef
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:
- add ability to set inputs on ComponentRef (https://github.com/angular/angular/pull/46641)
Thank you, I will look into this issue and fix it as soon as possible
@thekiba Hi there! Any estimations when the 14+ version will be released?
@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.