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

fix: zod import

This commit is contained in:
Florian Lefebvre 2024-04-29 18:40:45 +02:00
parent c89cc7bf7d
commit de75fc6d6b

View file

@ -1,6 +1,6 @@
import type { AstroIntegration, AstroIntegrationHooks } from '../@types/astro.js'; import type { AstroIntegration, AstroIntegrationHooks } from '../@types/astro.js';
import { AstroError, AstroErrorData, errorMap } from '../core/errors/index.js'; import { AstroError, AstroErrorData, errorMap } from '../core/errors/index.js';
import { z } from '../../zod.mjs'; import { z } from 'zod';
type AstroIntegrationSetupFn<Options extends z.ZodTypeAny> = (params: { type AstroIntegrationSetupFn<Options extends z.ZodTypeAny> = (params: {
name: string; name: string;
@ -53,3 +53,5 @@ export const defineIntegration = <
}; };
}; };
}; };
// export const defineIntegration = () => {};