vercel / geist-font

https://vercel.com/font
SIL Open Font License 1.1
2.47k stars 65 forks source link

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

Open diegohaz opened 3 months ago

diegohaz commented 3 months ago

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

JohnPhamous commented 3 months ago

Will take a look! Thanks for reporting.

nikshepsvn commented 2 months ago

same issue

fxmb commented 1 month ago

still having this issue. is there a fix on the way?

theogravity commented 1 day ago

Same.