Skip to content

Commit

Permalink
stop using VikePackages namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 13, 2024
1 parent 6bd7be0 commit bf9db6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/vike-vue-query/renderer/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ declare global {
}
}
}
namespace VikePackages {
interface ConfigVikeVue {
queryClientConfig: QueryClientConfig
namespace Vike {
interface Config {
queryClientConfig?: QueryClientConfig
}
}
}
4 changes: 2 additions & 2 deletions packages/vike-vue/src/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ type VuePluginWithOptions = {
// We purposely define the ConfigVikeVue interface in this file: that way we ensure it's always applied whenever the user `import vikeVue from 'vike-vue/config'`
// https://vike.dev/pageContext#typescript
declare global {
namespace VikePackages {
interface ConfigVikeVue {
namespace Vike {
interface Config {
/** Vue component rendered and appended into <head></head> */
Head?: Component

Expand Down

0 comments on commit bf9db6c

Please sign in to comment.