Commit generated code (#10331)

* update prettier generated artifacts

* chore: sync babel-helpers to artifacts
This commit is contained in:
Huáng Jùnliàng
2019-08-13 10:31:28 -04:00
committed by Nicolò Ribaudo
parent 051965052c
commit 22df2ae244
5 changed files with 12 additions and 23 deletions

View File

@@ -8,9 +8,8 @@ import is from "../../validators/is";
function assert(type: string, node: Object, opts?: Object): void {
if (!is(type, node, opts)) {
throw new Error(
`Expected type "${type}" with option ${JSON.stringify(
(opts: any),
)}, but instead got "${node.type}".`,
`Expected type "${type}" with option ${JSON.stringify((opts: any))}, ` +
`but instead got "${node.type}".`,
);
}
}