0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

fix: misc

This commit is contained in:
Florian Lefebvre 2024-04-26 18:50:59 +02:00
parent 615e0b717b
commit 9a892b1561
2 changed files with 1 additions and 13 deletions

View file

@ -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 {

View file

@ -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
export { defineIntegration } from "./define-integration.js"