diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index cccc9431c7..00725fee45 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -2,7 +2,6 @@ // Additionally, this code, much like `@types/astro.ts`, is used to generate documentation, so make sure to pass // your changes by our wonderful docs team before merging! -import type { satisfies } from 'semver'; import type { ZodError } from 'zod'; export interface ErrorData { diff --git a/packages/astro/src/integrations/index.ts b/packages/astro/src/integrations/index.ts index ece7d3d717..8628ca7455 100644 --- a/packages/astro/src/integrations/index.ts +++ b/packages/astro/src/integrations/index.ts @@ -1,12 +1 @@ -import type { AstroIntegration } from "../@types/astro.js"; - -type IntegrationDefinition = { - name: string; - setup: (hooks: AstroIntegration['hooks']) => AstroIntegration; -} - -export function defineIntegration(integration: IntegrationDefinition) { - return integration; -} - -// TODO: mirror aik behavior \ No newline at end of file +export { defineIntegration } from "./define-integration.js" \ No newline at end of file