W3cubDocs

/Angular

DefaultExport

interface

An ES Module object with a default export of the given type.

interface DefaultExport<T> {
  default: T
}

See also

Properties

Property Description
default: T

Default exports are bound under the name "default", per the ES Module spec: https://tc39.es/ecma262/#table-export-forms-mapping-to-exportentry-records

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/router/DefaultExport