Component: MultiSelect (Property 'ngOnInit' is missing in type 'MultiSelectTemplateDemo) #16256
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The lifecycle OnInit is imported but not implemented by resulting into an error during the build of app.
Class 'MultiSelectTemplateDemo' incorrectly implements interface 'OnInit'.
Property 'ngOnInit' is missing in type 'MultiSelectTemplateDemo' but required in type 'OnInit'
Environment
https://stackblitz.com/run?file=src%2Fapp%2Fmulti-select-template-demo.ts
Reproducer
No response
Angular version
18.0.1
PrimeNG version
17.18.9
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
All
Steps to reproduce the behavior
Expected behavior
Remove the OnInit as not needed so the app run without errors.
The text was updated successfully, but these errors were encountered: