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

[BUG] - Upgrade to rambda 9 #716

Closed
ilteoood opened this issue Jan 16, 2024 · 1 comment
Closed

[BUG] - Upgrade to rambda 9 #716

ilteoood opened this issue Jan 16, 2024 · 1 comment

Comments

@ilteoood
Copy link
Contributor

Describe the bug

> tsc --noEmit

Error: node_modules/rambda/index.d.ts(46,53): error TS2304: Cannot find name 'Functor'.
Error: node_modules/rambda/index.d.ts(46,78): error TS2304: Cannot find name 'Functor'.
Error: node_modules/rambda/index.d.ts(1161,31): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1162,31): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1163,28): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1164,28): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1165,28): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1166,28): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1505,33): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1506,30): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: node_modules/rambda/index.d.ts(1507,27): error TS2314: Generic type 'Lens' requires 2 type argument(s).
Error: Process completed with exit code 2.

Context(which version of library)
Upgrading from 8.9.0 to 9.0.0, the error above is raised during the build phase

Content of the tsconfig:

{
  "compilerOptions": {
    "module": "Node16",
    "esModuleInterop": true,
    "allowJs": true,
    "allowSyntheticDefaultImports": true,
    "target": "ESNext",
    "noImplicitAny": true,
    "moduleResolution": "node16",
    "resolveJsonModule": true,
    "sourceMap": true,
    "outDir": "dist"
  },
  "include": [
    "src/**/*"
  ]
}
selfrefactor pushed a commit that referenced this issue Jan 16, 2024
@selfrefactor
Copy link
Owner

Thanks for the issue. It is fixed with 9.0.1.

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

2 participants