Commit generated code (#10331)
* update prettier generated artifacts * chore: sync babel-helpers to artifacts
This commit is contained in:
committed by
Nicolò Ribaudo
parent
051965052c
commit
22df2ae244
@@ -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}".`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user