-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from vercel/update-types-2
- Loading branch information
Showing
4 changed files
with
44 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* | ||
!dist/**/* | ||
!font.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1 @@ | ||
import { NextFontWithVariable } from "@next/font"; | ||
|
||
declare module "geist/font" { | ||
/** | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistSans: NextFontWithVariable; | ||
/** | ||
* Geist Mono font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistMono: NextFontWithVariable; | ||
} | ||
export * from "../font"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { NextFontWithVariable } from "@next/font"; | ||
|
||
declare module "geist/font" { | ||
/** | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistSans: NextFontWithVariable; | ||
/** | ||
* Geist Mono font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistMono: NextFontWithVariable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters