Skip to content

Conversation

@erezrokah
Copy link
Contributor

This fixes the issue in #129 (comment) and that was introduced in #129

When isolatedModules is set all implementation files (e.g .ts) have to be modules (have some form of import/export).

Since the current index.ts in only a declaration file, it makes more sense to rename it to .d.ts, see https://www.typescriptlang.org/tsconfig#non-module-files

Copy link
Owner

@ryanseddon ryanseddon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

@ryanseddon ryanseddon merged commit 0158d7a into ryanseddon:master Dec 8, 2021
@ryanseddon
Copy link
Owner

That's been published as v5.2.1

@erezrokah erezrokah deleted the fix/typescript branch December 9, 2021 11:40
@erezrokah
Copy link
Contributor Author

Thank you for the quick follow up!

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.

2 participants