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

v1 produces a TypeScript compiler error #195

Closed
denver-HJS opened this issue Mar 23, 2021 · 0 comments
Closed

v1 produces a TypeScript compiler error #195

denver-HJS opened this issue Mar 23, 2021 · 0 comments

Comments

@denver-HJS
Copy link

denver-HJS commented Mar 23, 2021

I realize that a lot of folks turn off the lib check in their tsconfig.json but I was hoping to keep it on. When installing 1.0.0 with no other changes involved the following errors are produced from the npm package.

This is using TypeScript v4.0.5

> tsc


node_modules/type-fest/source/last-array-element.d.ts(18,13): error TS2456: Type alias 'LastArrayElement' circularly references itself.

node_modules/type-fest/source/last-array-element.d.ts(22,6): error TS2315: Type 'LastArrayElement' is not generic.

Desired Outcome

  • We should be able to use v1.0.0 without setting skipLibCheck to true

Thanks

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
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