Exceljs: [BUG] Error when try to compile depented lib

Created on 26 Mar 2020  ·  4Comments  ·  Source: exceljs/exceljs

🐛 Bug Report

Something, that works before, stop for now.
I've developing xlsx-renderer, which use exceljs. After the latest update (3.8.2) compilation throws errors:

> [email protected] build /home/runner/work/xlsx-renderer/xlsx-renderer
> tsc

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

Steps To Reproduce

look here:
https://github.com/Siemienik/xlsx-renderer/pull/9/checks?check_run_id=535214873#step:4:473

The expected behaviour:

build properly

Possible solution (optional, but very helpful):

I have no research now, I'll try to check it tomorrow. I think its something with typings:
https://github.com/exceljs/exceljs/pull/1169/files#diff-b52768974e6bc0faccb7d4b75b162c99R1319

bug

Most helpful comment

Fixed in #1179, @guyonroche if I could ask you to publish v3.8.3 as soon as possible?

All 4 comments

1179

Fixed in #1179, @guyonroche if I could ask you to publish v3.8.3 as soon as possible?

Being a blocker for me, I replaced the version in my package.json for exceljs with:

"git://github.com/exceljs/exceljs"

@ajmas temporary solution:
"exceljs":"3.8.1"

here you are an example

We are still waiting for Guyon to publishing v3.8.3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CountryGuide picture CountryGuide  ·  3Comments

TranBaVinhSon picture TranBaVinhSon  ·  4Comments

dcrystalj picture dcrystalj  ·  3Comments

jtraband picture jtraband  ·  3Comments

dbsxdbsx picture dbsxdbsx  ·  3Comments