rsnext/test/integration/page-config/pages/invalid/invalid-value.js
Jan Potoms 0b12e2e859
Improve error for invalid page configurations (#10441)
* Remove any type and fix edge cases

Removed the "as any" and use the @babel/types typeguards instead. This revealed some edge cases that would just error.

* Remove ts-ignore

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-12 23:39:51 -05:00

5 lines
97 B
JavaScript

const amp = 'hybrid'
// export const config = { amp }
export default () => <p>hello ${amp}</p>