1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

class importing in implementing error on ng serve

Discussão em 'Angular' iniciado por Abdullah Afnan, Setembro 12, 2024.

  1. X [ERROR] TS2610: 'sticky' is defined as an accessor in class 'CdkColumnDef', but is overridden here in 'NbColumnDefDirective' as an instance property. [plugin angular-compiler]

    node_modules/@nebular/theme/components/cdk/table/cell.d.ts:38:4:
    38 │ sticky: boolean;
    ╵ ~~~~~~


    X [ERROR] TS2610: 'sticky' is defined as an accessor in class 'CdkHeaderRowDef', but is overridden here in 'NbHeaderRowDefDirective' as an instance property. [plugin angular-compiler]

    node_modules/@nebular/theme/components/cdk/table/row.d.ts:29:4:
    29 │ sticky: boolean;
    ╵ ~~~~~~


    X [ERROR] TS2610: 'sticky' is defined as an accessor in class 'CdkFooterRowDef', but is overridden here in 'NbFooterRowDefDirective' as an instance property. [plugin angular-compiler]

    node_modules/@nebular/theme/components/cdk/table/row.d.ts:39:4:
    39 │ sticky: boolean;
    ╵ ~~~~~~


    when running serve on, it fails with above error

    i tried upgrading typescript-plugin-rxjs from 4.0.4 to 5.0.3 but the error still persists. Tried upgrading angular/cdk and and angular/core to version 17.2.2, but still does not work. Any help will be very much appreciated.

    Continue reading...

Compartilhe esta Página