supMDX/supMDX-env.d.ts

20 lines
362 B
TypeScript
Raw Normal View History

2022-11-04 21:44:29 +09:00
declare module '#config' {
import type {NavEntry} from '@/Nav';
type Config = {
2022-11-04 22:05:14 +09:00
site: {
startYear: number
author: string
name: string
}
2022-11-04 21:44:29 +09:00
metaFields?: {label: string, prop: string}[]
nav: NavEntry[]
};
const config: Config;
export default config;
}
declare module '*.yaml' {
const data: any;
export default data;
}