Not the answer you're looking for? Currently the problem is that when I use the ng serve, I got-> error TS2339:Property 'onSubmit' does not exist on type 'CampaignComponent'. Property 'exact' does not exist on type 'IntrinsicAttributes & RouteProps' Error in typescript? Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. src/account/sign-up/sign-up.component.html(51,9): : Property 'loginService' is private and only accessible within class 'SignUpComponent'. Type '{ param1: ObjectDto; toggleFunction: (index: any) => void; }' is Making statements based on opinion; back them up with references or personal experience. For example, if your ICalendarProps interface has the following properties: Thanks for contributing an answer to SharePoint Stack Exchange! For anyone else who might find this issue as a solution to custom tags in the future. How to Make a Black glass pass light through it? Interpreting non-statistically significant results: Do we have "no evidence" or "insufficient evidence" to reject the null? Except your component doesn't use any prop, and onSubmit is not an "intrinsic attribute", a standard, predefined prop like children could be. Property does not exist on type 'IntrinsicAttributes to your account. Currently the problem is that when I use the ng serve, I got-> error TS2339:Property 'onSubmit' does not exist on type 'CampaignComponent'. will be rendered into , and all the properties which are not listed above will be transferred to the