rsnext/test/integration/page-config/pages/index.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

8 lines
150 B
JavaScript

import { config as hello } from '../something'
import { config as world } from '../config'
export default () => (
<p>
{hello} {world}
</p>
)