Skip to content

Commit

Permalink
"loose: false" shouldn't be overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Dec 11, 2020
1 parent e950b86 commit 9e2a0a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default declare((api, options) => {
api.assertVersion(7);

const ignoreToPrimitiveHint =
options.loose || api.assumption("ignoreToPrimitiveHint");
options.loose ?? api.assumption("ignoreToPrimitiveHint");
const mutableTemplateObject =
options.loose || api.assumption("mutableTemplateObject");
options.loose ?? api.assumption("mutableTemplateObject");

let helperName = "taggedTemplateLiteral";
if (mutableTemplateObject) helperName += "Loose";
Expand Down

0 comments on commit 9e2a0a4

Please sign in to comment.