HostExtension
interface HostExtension<M extends ExtensionMemberMap = Record<never, never>>Descriptor produced by defineHostExtension and passed to the FlareHost constructor to opt a
host into the extension. Its install runs once at host construction, performs the extension’s
composition (services/config/routes via the HostExtensionContext), and returns the map of
members to install onto the host. The member map type M is carried as a type parameter so the
constructor types host.<member> for every member directly from the extensions array.
How you get one
Section titled “How you get one”Handed to you by the framework; see Host extensions.
Methods
Section titled “Methods”install()
Section titled “install()”install(ctx: HostExtensionContext): Mctx HostExtensionContext
returns M
Learn: Host extensions