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

Fix type error TS2666: Exports and export assignments are not permitt… #49

Merged
merged 1 commit into from May 24, 2022
Merged

Conversation

ramykl
Copy link
Contributor

@ramykl ramykl commented Apr 29, 2022

…ed in module augmentations.

Fixes typescript issue described below (see https://github.com/Microsoft/TypeScript-Handbook/blob/fa9e2be1024014fe923d44b1b69d315e8347e444/pages/Declaration%20Merging.md#module-augmentation) for more details

> tsc
node_modules/mdx-mermaid/index.d.ts:20:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.

20   export = mdxmermaid
     ~~~~~~

Found 1 error.

…ed in module augmentations.

Fixes typescript issue described below (see https://github.com/Microsoft/TypeScript-Handbook/blob/fa9e2be1024014fe923d44b1b69d315e8347e444/pages/Declaration%20Merging.md#module-augmentation) for more details

```
> tsc
node_modules/mdx-mermaid/index.d.ts:20:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.

20   export = mdxmermaid
     ~~~~~~

Found 1 error.
```
@ramykl
Copy link
Contributor Author

ramykl commented May 4, 2022

@sjwall

@sjwall sjwall merged commit 4b22995 into sjwall:main May 24, 2022
@sjwall
Copy link
Owner

sjwall commented May 24, 2022

Thank you for the PR

@ramykl ramykl deleted the patch-1 branch May 24, 2022 19:26
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