19 lines
362 B
TypeScript
19 lines
362 B
TypeScript
declare module '#config' {
|
|
import type {NavEntry} from '@/Nav';
|
|
type Config = {
|
|
site: {
|
|
startYear: number
|
|
author: string
|
|
name: string
|
|
}
|
|
metaFields?: {label: string, prop: string}[]
|
|
nav: NavEntry[]
|
|
};
|
|
const config: Config;
|
|
export default config;
|
|
}
|
|
|
|
declare module '*.yaml' {
|
|
const data: any;
|
|
export default data;
|
|
}
|