UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

15 lines (14 loc) 413 B
export interface ObjectFactory<T extends Function> { /** * The name of the factory function. * @example 'createUseFetch' */ name: string; factory: T; } /** * Define a factory for a function that should be registered for automatic key injection. * @since 4.2.0 * @param factory */ export declare function defineKeyedFunctionFactory<T extends Function>(factory: ObjectFactory<T>): T;