@stolbov.r/nuxt-font-loader
Version:
Fork of nuxt-font-loader with Nuxt 4 compatibility
31 lines (28 loc) • 796 B
TypeScript
import { ModuleOptions } from './module'
declare module '@nuxt/schema' {
interface NuxtConfig {
/**
* Nuxt Font Loader
*
* Fork of nuxt-font-loader with Nuxt 4 compatibility
*
* @see [Repository](https://github.com/romastolbov/nuxt-font-loader)
*/
['fontLoader']?: Partial<ModuleOptions>
}
interface NuxtOptions {
/**
* Nuxt Font Loader
*
* Fork of nuxt-font-loader with Nuxt 4 compatibility
*
* @see [Repository](https://github.com/romastolbov/nuxt-font-loader)
*/
['fontLoader']?: ModuleOptions
}
}
declare module 'nuxt/schema' {
interface NuxtConfig { ['fontLoader']?: Partial<ModuleOptions> }
interface NuxtOptions { ['fontLoader']?: ModuleOptions }
}
export { ModuleOptions, default } from './module'