cmd-johnson / deno-dependency-injector

Simple dependency injection for Deno TypeScript projects.
MIT License
13 stars 6 forks source link

TS2339 [ERROR]: Property 'toPrimitive' does not exist on type 'never' #3

Open michael-spengler opened 3 years ago

michael-spengler commented 3 years ago

... could not find a fix on my own so far.

Screenshot 2021-10-06 at 23 00 19

michael-spengler commented 3 years ago

executed

deno run -c ./tsconfig.json main.ts

like described in the readme imo.

cmd-johnson commented 3 years ago

HI there! Looks like this error relates to https://github.com/cmd-johnson/deno-reflect-metadata/issues/4. I already fixed the issue in deno-reflect-metadata, but didn't update the dependency here in https://github.com/cmd-johnson/deno-dependency-injector. Should be fixed now in v0.1.2 (https://deno.land/x/inject@v0.1.2)!