0

Code

import { ThridModule } from 'thrid-module'; // This is a aot compile module on `window` object with `umd`
@NgModule({
    imports: [ CommonModule, ThridModule ],
    bootstrap: [AppComponent]
})
export class AppModule {}

When I run this, I got an error Unexpected value 'ThridModule' imported by the module 'AppModule'. Please add a @NgModule annotation.

How can I solve this?

Lon Yang
  • 696
  • 5
  • 12

0 Answers0