Skip to content

Commit 7849fd4

Browse files
committed
fix: use literal instead of litteral
Related to @h2x/parse@1.1.0
1 parent 2d9b7bd commit 7849fd4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/src/h2x/emSize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const makeSizeAttr = name => {
44
const attr = new JSXAttribute()
55
attr.name = name
66
attr.value = '1em'
7-
attr.litteral = false
7+
attr.literal = false
88
return attr
99
}
1010

packages/core/src/h2x/svgRef.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const svgRef = () => () => ({
1111
const props = new JSXAttribute()
1212
props.name = 'ref'
1313
props.value = 'svgRef'
14-
props.litteral = true
14+
props.literal = true
1515
path.node.attributes.push(props)
1616
path.replace(path.node)
1717
}

0 commit comments

Comments
 (0)