BJS-kr / nestjs-omacache

flexible, powerful and simple caching strategy using decorators for NestJS
86 stars 4 forks source link

BustAllChildren does not exist in type CacheOptions #5

Closed mandarvl closed 7 months ago

mandarvl commented 7 months ago

I updated the package to 1.0.2 and it gives me this error when I try to use the bustAllChildren option.

Argument of type '{ key: string; kind: "bust"; bustAllChildren: boolean; }' is not assignable to parameter of type 'CacheOptions<"bust">'.
  Object literal may only specify known properties, and 'bustAllChildren' does not exist in type 'CacheOptions<"bust">'

I think it's because the code in npm package is not updated yet

jsbyeon1 commented 7 months ago

oh sorry I'll fix it right away!

jsbyeon1 commented 7 months ago

It now has been fixed. the problem was publish process. source was changed, but not compiled to changed version thanks for your patience