stalniy / casl

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
https://casl.js.org/
MIT License
5.92k stars 267 forks source link

casl/mongoose 8.0.0 update, error with missing types #894

Closed kemalcany closed 6 months ago

kemalcany commented 6 months ago
node_modules/.pnpm/@casl+mongoose@8.0.0_@casl+ability@6.7.1_mongoose@8.2.3/node_modules/@casl/mongoose/dist/types/accessibleBy.d.ts:2:32 - error TS2307: Cannot find module '@casl/ability/dist/types/types' or its corresponding type declarations.

import { ToAbilityTypes } from '@casl/ability/dist/types/types';

Hello, are there any ways to resolve this Typescript issue? Thanks!

stalniy commented 6 months ago

Hello

thanks for letting me know!