Skip to content

Commit

Permalink
fix(xml): more lax typing
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jun 3, 2024
1 parent 563febc commit 78ed4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xml/_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export type xml_node = {
/** XML document. */
export type xml_document = xml_node & {
/** XML version. */
["@version"]?: `1.${number}`
["@version"]?: string
/** XML character encoding. */
["@encoding"]?: string
/** XML standalone. */
["@standalone"]?: "yes" | "no"
["@standalone"]?: string
/** XML doctype. */
["#doctype"]?: xml_node
/** XML instructions. */
Expand Down

0 comments on commit 78ed4ac

Please sign in to comment.