supMDX/supMDX-env.d.ts
2022-11-04 22:05:14 +09:00

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;
}