Files
sweet/tests/fixture/pages/props/[id].tsx
T
Luca Casonato 8e83a032d9 feat: --config is not needed anymore (#48)
This commit removes the need for users to specify a --config file. TS
libs are now configured via `/// <reference>` directives, and the JSX
transform is specified via the `/** @jsx h */` pragma.

The future is configless!
2021-08-08 11:11:34 +02:00

8 lines
158 B
TypeScript

/** @jsx h */
import { h, PageProps } from "../../deps.ts";
export default function Home(props: PageProps) {
return <div>{JSON.stringify(props)}</div>;
}