Skip to content

AstroUserConfig should import from 'astro' not 'astro/config' #125

Description

@tmykkanen

The font typing throws an error if importing from 'astro/config'. Looks like the import location should be from 'astro'.

// bejamas:astro-fonts:start /** @type {NonNullable<import("astro").AstroUserConfig["fonts"]>} */ const BEJAMAS_ASTRO_FONTS = [ { provider: fontProviders.google(), name: "Inter", cssVariable: "--font-sans", subsets: ["latin"], }, ]; // bejamas:astro-fonts:end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions