gitbrent / PptxGenJS

Create PowerPoint presentations with a powerful, concise JavaScript API.
https://gitbrent.github.io/PptxGenJS/
MIT License
3.05k stars 647 forks source link

Error: node_modules/pptxgenjs/types/index.d.ts:842:31 - error TS1110: Type expected #1167

Open murugan-ayyappan opened 2 years ago

murugan-ayyappan commented 2 years ago

Hi @gitbrent,

I am install pptxgenjs its installing without error, But when I run my angular application I am getting error like below, Could you given any solutions for this type of error.

npm version: 6.14.12 Angular CLI: 11.0.7 Node: 14.16.1 OS: win32 x64

Package Version

@angular-devkit/architect 0.1100.7 @angular-devkit/build-angular 0.1100.7 @angular-devkit/core 11.0.7 @angular-devkit/schematics 11.0.7 @angular/animations 12.1.0 @angular/cdk 11.2.9 @angular/cli 11.0.7 @angular/fire 6.1.5 @angular/flex-layout 11.0.0-beta.33 @schematics/angular 11.0.7 @schematics/update 0.1100.7 rxjs 6.6.7 typescript 4.0.7

Error: node_modules/pptxgenjs/types/index.d.ts:842:31 - error TS1110: Type expected.

842 export type Coord = number | ${number}%

lw-like commented 2 years ago

Hello, This may be correlated with this fix/issue #1065 . I have almost the same problem. I'm figuring out what minimum TS version is required.