poststore
Version:
PostStore can be used with NEXT.JS to create markdown-based blogs.
10 lines (9 loc) • 327 B
TypeScript
import { GlobalProp, MainProp } from './prop';
import { PageCategory } from './common';
export interface PageProp<T extends PageCategory> {
param: string;
global: GlobalProp;
main: MainProp<T>;
}
export declare type PostPageProp = PageProp<'post'>;
export declare type ListPageProp = PageProp<'category'>;