exceljs / exceljs/exceljs

[BUG] Error with Angular 10 and ExcelJS 4.1.1

Open
#1,396 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15.5k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report
Error on compilation with Angular 10
"export 'Workbook' (imported as 'ExcelJS') was not found in 'exceljs'

Lib version: 4.1.1

## Steps To Reproduce
```javascript
const workbook = new ExcelJS.Workbook();
const worksheet = workbook.addWorksheet('Main sheet');
```
Run command ng build and error occured
## The expected behaviour:

Angular compilation will be success

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.