deligenius / view-engine

🚀A Template View Engine for Deno frameworks
MIT License
54 stars 16 forks source link

Property 'render' does not exist ... #3

Closed diahron closed 4 years ago

diahron commented 4 years ago

I am getting: TS2339 [ERROR]: Property 'render' does not exist on type 'Context<Record<string, any>>'. ctx.render("index.html", { data: { name: "John" } }); (render is indicated error) I noticed also that in the example I get an error at 'app.use(viewEngine(oakAdapter, denjuckEngine)); (oakAdapter has a squiggly line under it.

diahron commented 4 years ago

Parenthesis was missing and had to restart denon run.