Skip to content

Commit f46cc04

Browse files
committed
add resi files
1 parent 8d450b2 commit f46cc04

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

app/routes.resi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
let stdlibPaths: array<string>
2+
let beltPaths: array<string>
3+
let stdlibRoutes: array<ReactRouter.Routes.t>
4+
let beltRoutes: array<ReactRouter.Routes.t>
5+
let default: Belt.Array.t<ReactRouter.Routes.t>

app/routes/LandingPageRoute.resi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let default: unit => React.element

app/routes/NotFoundRoute.resi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@react.component
2+
let default: unit => React.element

app/routes/PackagesRoute.resi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let loader: unit => promise<Packages.props>
2+
let default: unit => React.element

app/routes/SyntaxLookupRoute.resi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
type loaderData = {mdxSources: array<SyntaxLookup.item>}
22
let loader: ReactRouter.Loader.t<loaderData>
33
let default: unit => React.element
4+
// TODO: move this out of the route file so it can export only a single react component
45
let convert: Mdx.attributes => SyntaxLookup.item

0 commit comments

Comments
 (0)