We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb49688 commit ff89151Copy full SHA for ff89151
generators/app/templates/src/components/index.ts
@@ -1,12 +1,9 @@
1
import { Router } from 'express';
2
3
+import { RouteOptions } from './types';
4
// TODO: import components
5
// import things from './things';
6
-interface RouteOptions {
7
- readonly dev: boolean;
8
-}
9
-
10
const path = '/';
11
12
const routes = (_: RouteOptions): Router => {
@@ -19,4 +16,3 @@ const routes = (_: RouteOptions): Router => {
19
16
};
20
17
21
18
export default { path, routes };
22
-export { RouteOptions };
generators/app/templates/src/components/types.ts
@@ -0,0 +1,5 @@
+interface RouteOptions {
+ readonly dev: boolean;
+}
+
+export { RouteOptions };
0 commit comments