Skip to content

'sticky' is defined as an accessor in class 'CdkColumnDef', but is overridden here in 'NbColumnDefDirective' as an instance property. #3258

Open
@gershonkoral

Description

@gershonkoral

Issue type

I'm submitting a ... (check one with "x")

  • [ x] bug report
  • feature request

Issue description

Current behavior:
When compiling my Angular project with Angular at v18, I get the error

Error: node_modules/@nebular/theme/components/cdk/table/cell.d.ts:38:5 - error TS2610: 'sticky' is defined as an accessor in class 'CdkColumnDef', but is overridden here in 'NbColumnDefDirective' as an instance property.

38     sticky: boolean;

Expected behavior:
Should not have compilation error.

Steps to reproduce:
Import @nebular/theme version 13.0.0 as a module into an angular project of version 18 (latest).

-->

Other information:

npm, node, OS, Browser

<!--
Node, v22.3.0 and npm: v10.8.1
OS: Windows 10
Browser: Firefox
-->

Angular, Nebular

angular: v18.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions