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

Types are missing in fresh Typescript project. #1375

Closed
braebo opened this issue Aug 15, 2023 · 1 comment
Closed

Types are missing in fresh Typescript project. #1375

braebo opened this issue Aug 15, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@braebo
Copy link

braebo commented Aug 15, 2023

Describe the bug
Installing gridjs to a fresh typescript project with configured with "moduleResolution": "bundler" fails to resolve types for gridjs due to the missing types field. Adding the missing field solves this rather critical problem. I also removed the invalid entry "./": "./".

To Reproduce
Steps to reproduce the behavior:

  1. pnpm create vite my-app --template vanilla-ts && cd my-app && pnpm i -D gridjs
  2. Add import { Grid } from 'gridjs to any file.
  3. Notice that typescript errors because it fails to resolve the types.

Expected behavior
Typescript does not error.

Additional context

@stale
Copy link

stale bot commented Oct 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 15, 2023
@stale stale bot closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant