fix theme typing

pull/18/head
Evan You 5 years ago
parent d8f2eb1ffc
commit eeef64e11c

@ -1,19 +1,5 @@
import { App, Ref, ComponentOptions } from 'vue'
import Layout from './Layout.vue'
import { Router } from '/@app/router'
import { SiteData } from '../../../types/shared'
export interface EnhanceAppContext {
app: App
router: Router
siteData: Ref<SiteData>
}
export interface Theme {
Layout: ComponentOptions
NotFound?: ComponentOptions
enhanceApp?: (ctx: EnhanceAppContext) => void
}
import { Theme } from '../app/theme'
const theme: Theme = {
Layout

Loading…
Cancel
Save