Module / v1.0.0-beta.7

@typed/astro/Component

6 unique exports available through this public import path, including their members and aliases.

import * as Component from "@typed/astro/Component";

Astro slots

  • Slots

    type-alias

    Named Astro slots available to a component generator’s second argument.

    Astro owns the serialized or existing slot content. Insert each present slot once as opaque output; a missing named slot is undefined. Re-rendering its descendants with Typed would give two renderers ownership of the same range.

Generator contracts

  • component

    namespace

    Generator and argument-aware pipeline contracts for Astro components.

  • component.Gen

    type-alias

    Overloads preserving generator arguments, yielded errors and services, and the returned renderable’s errors and services before optional pipelines.

Island services

  • Services

    type-alias

    Rendering services supplied by Astro for each server request or browser island. Application services remain visible in the component’s requirements and must be provided by the component’s pipeline or application boundary.

Renderer discovery

  • isComponent

    function

    Checks the Astro component brand without executing a candidate component. Used by renderer discovery so probing does not run another framework’s setup.

Renderer dispatch

  • view

    function

    Resolves Astro’s props and slots call while leaving zero-argument Fx values lazy. Renderer adapters use this after isComponent succeeds; application components normally enter through Astro markup rather than calling this helper directly.