mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -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
|
// 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!
|
// your changes by our wonderful docs team before merging!
|
||||||
|
|
||||||
import type { satisfies } from 'semver';
|
|
||||||
import type { ZodError } from 'zod';
|
import type { ZodError } from 'zod';
|
||||||
|
|
||||||
export interface ErrorData {
|
export interface ErrorData {
|
||||||
|
|
|
@ -1,12 +1 @@
|
||||||
import type { AstroIntegration } from "../@types/astro.js";
|
export { defineIntegration } from "./define-integration.js"
|
||||||
|
|
||||||
type IntegrationDefinition = {
|
|
||||||
name: string;
|
|
||||||
setup: (hooks: AstroIntegration['hooks']) => AstroIntegration;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function defineIntegration(integration: IntegrationDefinition) {
|
|
||||||
return integration;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: mirror aik behavior
|
|
Loading…
Add table
Reference in a new issue