Skip to content

Commit

Permalink
fix: correctly extend @nuxt/types
Browse files Browse the repository at this point in the history
* extend base interface `NuxtOptions` as we can't extend a type
  • Loading branch information
danielroe committed Oct 7, 2020
1 parent 255f002 commit 7f54ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ interface Client {
type SanityHelper = Record<string, Client> & Client

declare module '@nuxt/types' {
interface NuxtConfig {
interface NuxtOptions {
[CONFIG_KEY]: SanityModuleOptions
} // Nuxt 2.14+
interface Configuration {
Expand Down

0 comments on commit 7f54ba7

Please sign in to comment.