strvcom / nestjs-dataloader

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

How can i use this on Typescript ? #8

Open trinhcongduc opened 1 month ago

trinhcongduc commented 1 month ago
image
sbahman commented 1 month ago

Having the same issue

Cannot find module '@strv/nestjs-dataloader' or its corresponding type declarations.
  There are types at '/home/severin/dev/albula/node_modules/@strv/nestjs-dataloader/src/index.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.ts(2307)

Why is it necessary to update my moduleResolution for this? Is there a workaround?