gpreview
Version:
Preview Ghost themes locally without a full Ghost installation
25 lines • 674 B
TypeScript
import { Post, Page, Tag, Author } from '../types';
interface HasOptions {
fn: (context: unknown) => string;
inverse: (context: unknown) => string;
hash?: {
slug?: string;
visibility?: string;
[key: string]: string | undefined;
};
}
interface HasContext {
post?: Post;
page?: Page;
tags?: Tag[];
authors?: Author[];
feature_image?: string;
visibility?: string;
access?: boolean;
published_at?: string;
created_at?: string;
[key: string]: unknown;
}
export declare function hasHelper(this: HasContext, attribute: string, options: HasOptions): string;
export {};
//# sourceMappingURL=has.d.ts.map