Exceljs: [BUG] Typescript Error

Created on 30 Mar 2020  路  3Comments  路  Source: exceljs/exceljs

馃悰 Bug Report

With Version 3.8.2 there are Types in die index.d.ts file, which have not been defined.

Lib version: 3.8.2

Error Message on Startup

node_modules/exceljs/index.d.ts(1319,21): error TS2304: Cannot find name 'HeaderTransformFunction'.
node_modules/exceljs/index.d.ts(1319,47): error TS2304: Cannot find name 'HeaderArray'.
node_modules/exceljs/index.d.ts(1341,16): error TS2304: Cannot find name 'QuoteColumns'.
node_modules/exceljs/index.d.ts(1342,16): error TS2304: Cannot find name 'QuoteColumns'.
node_modules/exceljs/index.d.ts(1346,13): error TS2304: Cannot find name 'RowTransformFunction'.

The expected behaviour:

no Typescript errors

Possible solution:

type definitions

Most helpful comment

1182 In the future, similar bugs should not happen again.

All 3 comments

1180 #1179 #1178 we are waiting for publishing the new version.

for now, I recommend use version 3.8.1

1182 In the future, similar bugs should not happen again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukelaws picture lukelaws  路  3Comments

Toub picture Toub  路  3Comments

CountryGuide picture CountryGuide  路  3Comments

miniil picture miniil  路  4Comments

jtraband picture jtraband  路  3Comments