angluar cannot declare '' in an ngmodule as its not part of the current compilation
// Remove your module from declarations and add it to imports
@NgModule({
declarations: [
SomeComponent,
// SharedModule, <-- remove module from declarations
],
imports: [
SharedModule, // <-- add to imports
],
})
export class YourModule {}
Are there any code examples left?
New code examples in category TypeScript