Skip to content

Commit

Permalink
fix: fix ModuleOptions interface name (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Jun 5, 2024
1 parent 513f0ff commit 7d81aed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineNuxtModule, createResolver, addServerPlugin, addTypeTemplate, addPlugin } from '@nuxt/kit'
import { resolvePath } from "mlly"

export interface ApplicationInsightModuleOptions {
export interface ModuleOptions {
/**
* Application insights connection string
* Can be overriden by serverConfig, clientConfig or runtimeConfig
Expand All @@ -17,10 +17,14 @@ export interface ApplicationInsightModuleOptions {
clientEnabled: boolean
}

export default defineNuxtModule<ApplicationInsightModuleOptions>({
export default defineNuxtModule<ModuleOptions>({
meta: {
name: 'nuxt-applicationinsights',
configKey: 'applicationinsights',
compatibility: {
nuxt: '>=3',
bridge: false,
}
},
// Default configuration options of the Nuxt module
defaults: {
Expand Down

0 comments on commit 7d81aed

Please sign in to comment.