* Register a template engine with extension
(ext: string, fn: TemplateFunc<RenderOptions>)
| 224 | * Register a template engine with extension |
| 225 | */ |
| 226 | engine(ext: string, fn: TemplateFunc<RenderOptions>) { |
| 227 | this.engines[ext] = fn |
| 228 | |
| 229 | return this |
| 230 | } |
| 231 | |
| 232 | route(path: string): App { |
| 233 | const app = new App() |
no outgoing calls
no test coverage detected