index.d.ts 472 B

12345678910111213141516171819202122232425
  1. import { Module } from '@nuxt/types';
  2. interface TelemetryOptions {
  3. debug: boolean
  4. endpoint: string
  5. seed: string
  6. consent?: number
  7. enabled: boolean
  8. }
  9. declare module '@nuxt/types/config/index' {
  10. interface NuxtOptions {
  11. telemetry: boolean | Partial<{
  12. debug: boolean
  13. endpoint: string
  14. seed: string
  15. consent: 1
  16. enabled: boolean
  17. }>
  18. }
  19. }
  20. declare const telemetryModule: Module<TelemetryOptions>;
  21. export default telemetryModule;