Skip to content

Fix export for Raven ambient definition #892

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

Closed
wants to merge 1 commit into from
Closed

Fix export for Raven ambient definition #892

wants to merge 1 commit into from

Conversation

jimmythecoder
Copy link

Fix TypeScript export for Raven ambient definition so can be included in projects using TypeScript. Currently due to the export statement, there is no namespace and so you cannot use Raven as it is not found. This is if you included raven as a script dependency in your HTML rather than doing a require and so becomes an ambient lib. It should follow the conventions of other library .d.ts files such as jQuery or underscore which always export a default namespace.

All tests passing.

@jimmythecoder
Copy link
Author

Seems travis build is failing, but works for me and my build locally on TS 2.1.6, annoying. Any ideas?

@benvinegar
Copy link
Contributor

Seems travis build is failing, but works for me and my build locally on TS 2.1.6, annoying. Any ideas?

I am probably the last person to offer ideas :)

At this point in time, after the debacle of #898, I am hesitant to accept any change to the TS module definition.

@LucaVazz
Copy link
Contributor

LucaVazz commented Jul 7, 2017

With #977 this should be already fixed. Do you agree with that and closing the PR @jimmythecoder?

@kamilogorek
Copy link
Contributor

This is fixed now. Closing.

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

Successfully merging this pull request may close these issues.

4 participants