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

Adapt module export for Typescript 2.6 #700

Merged
merged 4 commits into from
Apr 8, 2021

Conversation

DouglasOGarrido
Copy link
Contributor

As per https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#arbitrary-expressions-are-forbidden-in-export-assignments-in-ambient-contexts, the current src/plugins/index.d.ts causes error (The expression of an export assignment must be an identifier or qualified name in an ambient context) when using Typescript 2.6 +.

Add a import of Plugins.d.ts file.
Ajustment to export default.
Hotfix export default.
@JiHong88
Copy link
Owner

JiHong88 commented Apr 8, 2021

@DouglasOGarrido Thank you for your contribution!

@JiHong88 JiHong88 merged commit 1da64cd into JiHong88:master Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants