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:
parent
c89cc7bf7d
commit
de75fc6d6b
1 changed files with 3 additions and 1 deletions
|
@ -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 = () => {};
|
||||||
|
|
Loading…
Add table
Reference in a new issue