Skip to content

Commit

Permalink
fix(module): type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 20, 2023
1 parent 4bc8c65 commit ebba8ff
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ export default defineNuxtModule<ModuleOptions>({
const adminUrl = joinURL(nuxt.options.runtimeConfig.public.strapi.url, '/admin/')
logger.info(`Strapi Admin URL: ${adminUrl}`)
if (options.devtools) {
// @ts-expect-error - private API
nuxt.hook('devtools:customTabs', (iframeTabs) => {
iframeTabs.push({
name: 'strapi',
Expand All @@ -124,11 +123,3 @@ export default defineNuxtModule<ModuleOptions>({
}
}
})

declare module '@nuxt/schema' {
interface ConfigSchema {
publicRuntimeConfig?: {
strapi?: ModuleOptions
}
}
}

0 comments on commit ebba8ff

Please sign in to comment.