Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] TS2552: Cannot find name 'ReadonlySetLike'. Did you mean 'ReadonlySet'? #201

Closed
sysmat opened this issue Dec 25, 2024 · 1 comment

Comments

@sysmat
Copy link

sysmat commented Dec 25, 2024

  • compiler error Cannot find name 'ReadonlySetLike'
  • using ng 19 and ts 5.6.3 and ts conf: "preserveSymlinks": true
  • paste your package.json
"mobx": "^6.8.0",
"mobx-angular": "^4.8.0",
[ERROR] TS2552: Cannot find name 'ReadonlySetLike'. Did you mean 'ReadonlySet'? [plugin angular-compiler]

    node_modules/.pnpm/mobx@6.13.5/node_modules/mobx/dist/types/observableset.d.ts:45:30:
      45 │ ...ntersection<U>(otherSet: ReadonlySetLike<U> | Set<U>): Set<T & U>;
         ╵                             ~~~~~~~~~~~~~~~
@sysmat
Copy link
Author

sysmat commented Dec 25, 2024

it seams my ts config was problem

@sysmat sysmat closed this as completed Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant