Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

types error 'node_modules/pptxgenjs/types/index.d.ts' #672

Closed
Krishnakanth94 opened this issue Feb 13, 2020 · 4 comments
Closed

types error 'node_modules/pptxgenjs/types/index.d.ts' #672

Krishnakanth94 opened this issue Feb 13, 2020 · 4 comments
Assignees
Milestone

Comments

@Krishnakanth94
Copy link

node_modules/pptxgenjs/types/index.d.ts(1037,9): error TS1122: A tuple type element list cannot be empty.
node_modules/pptxgenjs/types/index.d.ts(1060,25): error TS8020: JSDoc types can only be used inside documentation comments.
node_modules/pptxgenjs/types/index.d.ts(1299,17): error TS8020: JSDoc types can only be used inside documentation comments.
node_modules/pptxgenjs/types/index.d.ts(1385,52): error TS1122: A tuple type element list cannot be empty.

@Krishnakanth94 Krishnakanth94 changed the title types error types error 'node_modules/pptxgenjs/types/index.d.ts' Feb 13, 2020
@gitbrent
Copy link
Owner

gitbrent commented Feb 13, 2020

Where is this coming from, Webpack?
The library is built with TypeScript 3.3.1 and i'm not seeing any ts/tslint errors like this.

defs updated:
Two "tuple type" TS1122 issues addressed
Next two TS8020 requires rework already underway in defs file (these 2 are internal fields and wont be included in the next index.d.ts file.

@gitbrent gitbrent self-assigned this Feb 13, 2020
@gitbrent gitbrent added this to the 3.2.0 milestone Feb 13, 2020
gitbrent added a commit that referenced this issue Feb 13, 2020
@abhishek19589
Copy link

Facing the same issue i have install "npm install pptxgenjs --save" in my angular 6 application and added demo in once file ng build --watch giving same error

ERROR in node_modules/pptxgenjs/types/index.d.ts(1037,9): error TS1122: A tuple type element list cannot be empty.
node_modules/pptxgenjs/types/index.d.ts(1060,25): error TS8020: JSDoc types can only be used inside documentation comments.
node_modules/pptxgenjs/types/index.d.ts(1299,17): error TS8020: JSDoc types can only be used inside documentation comments.
node_modules/pptxgenjs/types/index.d.ts(1385,52): error TS1122: A tuple type element list cannot be empty.

ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this issue Mar 24, 2020
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this issue Mar 24, 2020
@gitbrent
Copy link
Owner

Thanks @Krishnakanth94

This is now fixed in the master branch.

@Krishnakanth94
Copy link
Author

Thank's @gitbrent .

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants