I have an Angular application as a Pilet for my Piral application. I'm trying to access a config value passed from Piral application via PageComponentProperties. As described in this page, https://docs.piral.io/plugins/piral-ng, I'm trying to access the page Component Properties ("PageComponentProps") as follows within AppModule.
export class AppModule {
@Input('Props') public props: PageComponentProps<any>;
}
And I'm registering the angular component as follows,
app.registerPage(/test-location
, app.fromNg(AppModule));
I'm getting the following error, any idea? link to error image
Make sure that in the pilet's package.json you have the following structure: