UNPKG

@oap75/utils

Version:
7 lines (6 loc) 299 B
export declare type HasTitleOrBody = { title?: string; body: string; }; export declare const createPostSlug: ((postId: string, content?: HasTitleOrBody | undefined) => string) & import("lodash").MemoizedFunction; export declare const getPostIdFromSlug: (slug: string) => string | undefined;