UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

7 lines (6 loc) 421 B
import { ServiceContext, ServiceFn, ServiceResponse, ServiceWrapperConfig } from "./types.mjs"; //#region src/utils/services/service-wrapper.d.ts declare const serviceWrapper: <T extends unknown[], R>(fn: ServiceFn<T, R>, wrapperConfig: ServiceWrapperConfig) => (service: ServiceContext, ...args: T) => ServiceResponse<R>; //#endregion export { serviceWrapper as default }; //# sourceMappingURL=service-wrapper.d.mts.map