@strapi/types
Version:
Shared typescript types for Strapi internal use
8 lines • 303 B
TypeScript
import type { Strapi } from '../../../core';
export type LifecycleMethod = ({ strapi }: {
strapi: Strapi;
}) => Promise<unknown> | unknown;
export type Register = LifecycleMethod;
export type Bootstrap = LifecycleMethod;
export type Destroy = LifecycleMethod;
//# sourceMappingURL=lifecycle.d.ts.map