Skip to content

Commit

Permalink
fix: Preserve Boolean types
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Aug 16, 2019
1 parent ace8761 commit 6a27feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ export default function(babel) {
newProps.properties.push(
t.objectProperty(
t.identifier(prop.node.key.name),
t.objectExpression([])
t.identifier('Boolean')
)
)
}
} else {
newProps.properties.push(
t.objectProperty(
t.identifier(prop.node.key.name),
t.objectExpression([])
t.identifier('Boolean')
)
)
}
Expand Down

0 comments on commit 6a27feb

Please sign in to comment.