Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add types key to package.json #529

Merged
merged 1 commit into from
Jul 3, 2019
Merged

Conversation

adamlong5
Copy link
Contributor

On the latest Typescript, I couldn't get the Typescript compiler or VS Code to recognize that the pptxgenjs library had a typings file.

Adding this types key seems to be required if the *.d.ts file isn't at the root of the project.

Thanks for maintaining this project!

On the latest Typescript, I couldn't get the Typescript compiler or VS Code to recognize that the `pptxgenjs` library had a typings file. 

Adding this `types` key [seems to be required](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) if the `*.d.ts` file isn't at the root of the project.

Thanks for maintaining this project!
@thitemple
Copy link

I didn't see this existed and created another PR for the same thing. Any news on this?

@SKalt
Copy link
Contributor

SKalt commented Jul 2, 2019

Looks like it was merged to the version-3.0 / typescript branch on June 13: https://github.com/gitbrent/PptxGenJS/commits/version-3.0

@gitbrent
Copy link
Owner

gitbrent commented Jul 3, 2019

I'd merged #558 into the head branch a few weeks ago.

However, it added "typings" and that's deprecated as of Typescript 2.0 from what i've read.

I'll merge this and remove the previous PR.

@gitbrent gitbrent merged commit b6c5ee2 into gitbrent:master Jul 3, 2019
@gitbrent
Copy link
Owner

gitbrent commented Jul 3, 2019

Thanks @adamlong5 !

@gitbrent gitbrent added this to the 2.6.0 milestone Jul 3, 2019
@gitbrent gitbrent self-assigned this Jul 3, 2019
gitbrent added a commit that referenced this pull request Jul 3, 2019
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants