Skip to content

Commit

Permalink
Merge pull request #7 from vercel/update-types
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPhamous authored Oct 27, 2023
2 parents c1278e3 + c63a2b9 commit 6bf6eda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/next/dist/font.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NextFont } from "@next/font";
import { NextFontWithVariable } from "@next/font";

declare module "geist/font" {
/**
Expand All @@ -15,7 +15,7 @@ declare module "geist/font" {
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistSans: NextFont;
export const GeistSans: NextFontWithVariable;
/**
* Geist Mono font, with `className` and `variable` properties,
* meant to be attached to DOM elements via `className`
Expand All @@ -30,5 +30,5 @@ declare module "geist/font" {
*
* * {@link https://github.com/vercel/geist-font/releases Download Font Files}
*/
export const GeistMono: NextFont;
export const GeistMono: NextFontWithVariable;
}
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "geist",
"version": "1.0.0",
"description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.",
"main": "dist/font.js",
"main": "./dist/font.js",
"scripts": {
"prepare": "cp ../../LICENSE.TXT ."
},
Expand Down

0 comments on commit 6bf6eda

Please sign in to comment.