Skip to content

Commit

Permalink
fix: switch to separate type import for plugin
Browse files Browse the repository at this point in the history
This will help with compatibility with Nuxt v3.8.0 https://github.com/nuxt/nuxt/releases/tag/v3.8.0
  • Loading branch information
patrickcate committed Oct 29, 2023
1 parent efee801 commit f86808c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Kitsu from 'kitsu'
import type KitsuTypes from 'kitsu'
import { defineNuxtPlugin, useRuntimeConfig, Plugin } from '#app'
import { defineNuxtPlugin, useRuntimeConfig } from '#app'
import type { Plugin } from '#app'

const plugin: Plugin<{ jsonApi: KitsuTypes }> = defineNuxtPlugin(nuxtApp => {
const { jsonApi: options } = useRuntimeConfig().public
Expand Down

0 comments on commit f86808c

Please sign in to comment.