Skip to content

Commit

Permalink
fix(types): fix configuration module type
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmarrec committed Feb 26, 2020
1 parent 075f60d commit f41463f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/config/module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ interface ModuleThis {

export type Module<T = Record<string, any>> = (this: ModuleThis, moduleOptions?: T) => Promise<void> | void

export type NuxtConfigurationModule = string | [string, Record<string, any>] | Module
export type NuxtConfigurationModule = string | Module | [string | Module, Record<string, any>]

0 comments on commit f41463f

Please sign in to comment.