numberToFontWeight: {
    [k: string]: T;
} = ...

Maps well-known (fixed size) numeric font-weights to their textual representation. Skips relative weights, as a mapping would require context information from parents.

Type declaration

  • [k: string]: T