(app: NodeAppHotReloadTargets<S>)
| 16 | type NodeAppHotReloadTargets<S> = Pick<App<S>, "replaceView" | "replaceRoutes">; |
| 17 | |
| 18 | function createViewHotReloadApp<S>(app: NodeAppHotReloadTargets<S>): Pick<App<S>, "replaceView"> { |
| 19 | return { |
| 20 | replaceView: app.replaceView.bind(app), |
| 21 | }; |
| 22 | } |
| 23 | |
| 24 | function createRoutesHotReloadApp<S>( |
| 25 | app: NodeAppHotReloadTargets<S>, |
no outgoing calls
no test coverage detected