Answers for "Error catch : Error: Uncaught (in promise): Error: Unexpected directive 't' imported by the module 't'. Please add a @NgModule annotation."

0

Error catch : Error: Uncaught (in promise): Error: Unexpected directive 't' imported by the module 't'. Please add a @NgModule annotation.

@NgModule({
      declarations: [
      AppComponent,
      MyComboBox
     ],


    imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    DragulaModule,
    CoreModule
   ],
  // viewProviders: [ DragulaService ],
  providers: [HelperService],
  bootstrap: [AppComponent]
})
Posted by: Guest on June-15-2021

Code answers related to "Error catch : Error: Uncaught (in promise): Error: Unexpected directive 't' imported by the module 't'. Please add a @NgModule annotation."

Browse Popular Code Answers by Language