mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
fix: misc
This commit is contained in:
parent
615e0b717b
commit
9a892b1561
2 changed files with 1 additions and 13 deletions
|
@ -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 {
|
||||
|
|
|
@ -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"
|
Loading…
Add table
Reference in a new issue