Skip to content

[BUG] 4.1.0 causes TypeScript compilation errors - addRows styleOption should be optional? #1357

Closed
@cduff

Description

@cduff

🐛 Bug Report

Upgrading to 4.1.0 results in TypeScript compilation errors for previously working code like:

sheet.addRows(rows);

It looks like the problem was introduced in Added insert rows functionality with new style inherit options. The new TypeScript definition is:

addRows(rows: any[], styleOption: string): void;

Shouldn't styleOption be optional with a default value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy