UNPKG

poststore

Version:

PostStore can be used with NEXT.JS to create markdown-based blogs.

8 lines (7 loc) 304 B
export interface ObjectMap<T> { [key: string]: T; } export declare type SubTypeWithoutObjectMap<BaseType, Key extends keyof BaseType> = BaseType[Key] extends ObjectMap<infer R> ? R : never; export declare type Clone<BaseType extends string, ValueType> = { [key in BaseType]: ValueType; };