Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

TestModuleMetadata

      
      interface TestModuleMetadata {
  providers?: any[]
  declarations?: any[]
  imports?: any[]
  schemas?: Array<SchemaMetadata | any[]>
  teardown?: ModuleTeardownOptions
  errorOnUnknownElements?: boolean
  errorOnUnknownProperties?: boolean
  deferBlockBehavior?: DeferBlockBehavior
}
    

Properties

Property Description
providers?: any[]
declarations?: any[]
imports?: any[]
schemas?: Array<SchemaMetadata | any[]>
teardown?: ModuleTeardownOptions
errorOnUnknownElements?: boolean

Whether NG0304 runtime errors should be thrown when unknown elements are present in component's template. Defaults to false, where the error is simply logged. If set to true, the error is thrown.

See also:

  • NG8001 for the description of the problem and how to fix it

errorOnUnknownProperties?: boolean

Whether errors should be thrown when unknown properties are present in component's template. Defaults to false, where the error is simply logged. If set to true, the error is thrown.

See also:

  • NG8002 for the description of the error and how to fix it

deferBlockBehavior?: DeferBlockBehavior

Whether defer blocks should behave with manual triggering or play through normally. Defaults to manual.