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: Nextjs and type-fest camel-case.d.ts Type error: '?' expected. #814

Closed
a7medpa opened this issue Feb 11, 2024 · 0 comments
Closed

Bug: Nextjs and type-fest camel-case.d.ts Type error: '?' expected. #814

a7medpa opened this issue Feb 11, 2024 · 0 comments

Comments

@a7medpa
Copy link

a7medpa commented Feb 11, 2024

I am having issues just running my application. I am unsure why this came-case.d.ts file is throwing errors.

> next build

info  - Loaded env from env.production.local
info  - Loaded env from env.local
info  - Using webpack 5. Reason: no custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5
Failed to compile.

./node_modules/type-fest/source/camel-case.d.ts:25:32
Type error: '?' expected.

  23 |  OutputString extends string = '',
  24 | > = Words extends [
> 25 |  infer FirstWord extends string,
     |                                ^
  26 |  ...infer RemainingWords extends string[],
  27 | ]
  28 |  ? Options['preserveConsecutiveUppercase'] extends true

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • The funding will be given to active contributors.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@a7medpa a7medpa closed this as completed Feb 11, 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