deligenius / view-engine

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

Property 'name' in type 'PartialReadError' is not assignable to the same property in base type 'UnexpectedEof'. #31

Closed juliavdkris closed 2 years ago

juliavdkris commented 3 years ago

I'm getting the following error when trying to run the example code from the README

error: TS2416 [ERROR]: Property 'name' in type 'PartialReadError' is not assignable to the same property in base type 'UnexpectedEof'.
  Type 'string' is not assignable to type '"UnexpectedEof"'.
  name = "PartialReadError";
  ~~~~
    at https://deno.land/std@0.69.0/io/bufio.ts:26:3

This is on deno 1.13.0

gjuoun commented 2 years ago

please use the newest version, thanks!