Browse Source

chore(gui-v2): add route meta shims

pull/3211/head
braks 2 years ago
parent
commit
958a8ebbcf
  1. 7
      packages/nc-gui-v2/nuxt-shim.d.ts

7
packages/nc-gui-v2/nuxt-shim.d.ts vendored

@ -24,3 +24,10 @@ declare module '@vue/runtime-core' {
i18n: I18n<MessageSchema, unknown, unknown, false>['global']
}
}
declare module 'vue-router' {
interface RouteMeta {
requiresAuth?: boolean
public?: boolean
}
}

Loading…
Cancel
Save