cp-metas
Version:
set website title
24 lines (19 loc) • 482 B
text/typescript
export interface MetasOptions {
name?: string,
content?: string,
property?: string,
[key: string]: any
}
export interface HeadsOptions {
title?: string,
description?: string,
keywords?: string,
image?: string,
metas?: MetasOptions[],
[key: string]: any
}
export interface commonObject<T> {
[key: string]: T
}
export type HeadAttrs<T> = { [k: string]: any }
export const isClient = typeof window !== "undefined"