SheetXL - v1.0.2
    Preparing search index...

    Type Alias Update<C>

    Update: {
        [K in keyof Omit<IFontStyle.Properties<C>, "weight" | "underline">]?:
            | IFontStyle.Properties<C>[K]
            | null
    } & {
        bold?: boolean
        | null;
        italic?: boolean | null;
        underline?: IFont.UnderlineStyle | boolean | null;
        weight?: number | string | null;
    }

    What IFontStyle.update and a cell style's font accept: Properties with shorthands. null clears a property.

    Type Parameters

    Type Declaration

    • Optionalbold?: boolean | null

      Sets the weight to 700 or 400. Ignored when weight is also given.

    • Optionalitalic?: boolean | null

      Sets the style to italic or normal. Ignored when style is also given.

    • Optionalunderline?: IFont.UnderlineStyle | boolean | null

      true for 'single', false for 'none'.

    • Optionalweight?: number | string | null

      A number (400, 700) or a CSS keyword ('bold').