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.

5 lines (4 loc) 173 B
/** * Throw NextFontError error. Used by the WellKnownErrorsPlugin to format errors thrown by next/font. */ export declare function nextFontError(message: string): never;