UNPKG

egg-typebox-validate

Version:
13 lines (12 loc) 340 B
import type { EggCore, ILifecycleBoot } from '@eggjs/core'; import { Ajv2019 as Ajv } from 'ajv/dist/2019.js'; export default class AppBootHook implements ILifecycleBoot { app: EggCore; constructor(app: EggCore); configDidLoad(): Promise<void>; } declare module '@eggjs/core' { interface EggCore { ajv: Ajv; } }