Skip to content

Commit

Permalink
Add typing for nuxt module option
Browse files Browse the repository at this point in the history
  • Loading branch information
philliphartin committed Feb 29, 2024
1 parent 68fd8d0 commit bce10f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nuxt-module/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { defineNuxtModule, addPlugin, createResolver, addImports } from '@nuxt/k
import * as utils from '../../dist/index'

// Module options TypeScript interface definition
export interface ModuleOptions {}
export interface ModuleOptions {
alias: [string, string][]
}

export default defineNuxtModule<ModuleOptions>({
meta: {
Expand Down

0 comments on commit bce10f9

Please sign in to comment.