UNPKG

@next/font

Version:

`@next/font` includes built-in automatic self-hosting for any font file. This means you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust property used.

6 lines (5 loc) 231 B
/** * Callback function for sorting font variant values. * Used as a parameter in `Array.prototype.sort` function to ensure correct sorting. */ export declare function sortFontsVariantValues(valA: string, valB: string): number;