Skip to content

Commit

Permalink
fix(schema): make meta content stringable
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Oct 20, 2022
1 parent a3a7dec commit 7113e9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/schema/src/meta.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { Stringable } from './types'

export type MetaNames =
'charset' |
'description' |
Expand Down Expand Up @@ -95,7 +97,7 @@ export interface Meta {
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content
*/
content?: string
content?: Stringable
/**
* Defines a pragma directive. The attribute is named http-equiv(alent) because all the allowed values are names of
* particular HTTP headers.
Expand Down

0 comments on commit 7113e9d

Please sign in to comment.