module.d.ts 455 B

1234567891011121314151617
  1. import { Module } from '@nuxt/types';
  2. import { Options } from 'eslint-webpack-plugin';
  3. interface ModuleOptions extends Partial<Options> {
  4. }
  5. declare const CONFIG_KEY = "eslint";
  6. declare const nuxtModule: Module<ModuleOptions>;
  7. declare module '@nuxt/types' {
  8. interface NuxtConfig {
  9. [CONFIG_KEY]?: ModuleOptions;
  10. }
  11. interface Configuration {
  12. [CONFIG_KEY]?: ModuleOptions;
  13. }
  14. }
  15. export { ModuleOptions, nuxtModule as default };