Skip to content

Instantly share code, notes, and snippets.

@starakaj
Created February 22, 2021 21:50
Show Gist options
  • Save starakaj/1b3415d1b9f15df4307c1652642463ca to your computer and use it in GitHub Desktop.
Save starakaj/1b3415d1b9f15df4307c1652642463ca to your computer and use it in GitHub Desktop.
Not the output we were hoping for
/Users/name/c74/codegen-blog/node_modules/@babel/types/lib/definitions/utils.js:132
throw new TypeError(`Property ${key} of ${node.type} expected node to be of a type ${JSON.stringify(types)} but instead got ${JSON.stringify(val == null ? void 0 : val.type)}`);
^
TypeError: @babel/template placeholder "h": Property arguments[3] of CallExpression expected node to be of a type ["Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder"] but instead got undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment