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

Module '"geist/font/sans"' has no exported member 'GeistSans' #122

Open
diegohaz opened this issue Aug 9, 2024 · 2 comments
Open

Module '"geist/font/sans"' has no exported member 'GeistSans' #122

diegohaz opened this issue Aug 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@diegohaz
Copy link

diegohaz commented Aug 9, 2024

Description of the Issue:

There's an issue with the TypeScript declaration files in v1.3.1, possibly related to #116.

When using "moduleResolution": "Node16" or "NodeNext", TypeScript no longer recognizes GeistSans as an exported member of geist/font/sans.

Steps to Reproduce:

  1. Open https://stackblitz.com/edit/vitejs-vite-wwhhks?file=tsconfig.app.json,src%2FApp.tsx%3AL4-L4&terminal=dev
  2. Wait for the installation to complete
  3. See TypeScript error

Expected Behavior:

It should work without TypeScript errors like in v1.3.0

@diegohaz diegohaz added the bug Something isn't working label Aug 9, 2024
@JohnPhamous
Copy link
Contributor

Will take a look! Thanks for reporting.

@nikshepsvn
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants