-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14.2.0 TS2380 in overlay.d.ts #12159
Comments
Angular CLI: 14.2.9 Angular: 14.2.9 Package Version@angular-devkit/architect 0.1402.9 |
tsconfig.json: /* To learn more about this file see: https://angular.io/config/tsconfig. */ |
To fix this for the moment you can go into: |
Hi @hkjeffchan and @brunork26, Thanks a lot for your report! Could you please check and test my fix? |
Hi guys, I have the same error, @mertsincan Could you please confirm me the version to fix that? |
@nestor91sanchez I'll release 14.2.1 version asap. |
v14.2.1 Released ;) |
@mertsincan Thank you so much |
Describe the bug
Error: node_modules/primeng/overlay/overlay.d.ts:17:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'string'.
17 get mode(): OverlayModeType | string;
~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:21:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'string'.
21 get styleClass(): string | undefined;
~~~~~~~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:25:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'string'.
25 get contentStyleClass(): string | undefined;
~~~~~~~~~~~~~~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:31:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'boolean'.
31 get autoZIndex(): boolean | undefined;
~~~~~~~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:33:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'number'.
33 get baseZIndex(): number | undefined;
~~~~~~~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:41:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'ResponsiveOverlayOptions'.
41 get responsive(): ResponsiveOverlayOptions | undefined;
~~~~~~~~~~
Error: node_modules/primeng/overlay/overlay.d.ts:43:9 - error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'undefined' is not assignable to type 'OverlayOptions'.
43 get options(): OverlayOptions | undefined;
~~~~~~~
Environment
Mac
Reproducer
No response
Angular version
14.2.9
PrimeNG version
14.2.0
Build / Runtime
TypeScript
Language
ES6
Node version (for AoT issues node --version)
v18.11.0
Browser(s)
No response
Steps to reproduce the behavior
Upgrade to 14.2.0 and build
14.1.2 is fine
Expected behavior
no error
The text was updated successfully, but these errors were encountered: