Closed sebastc closed 2 years ago
Welcome @sebastc, and thank you very much for your contribution!
Code all LGTM. I started a topic on the forums about setting up a test app for TS usage, so everyone can easily test PRs like this one, now and in the future:
https://community.remotestorage.io/t/test-app-repo-for-typescript-usage/731
/cc @remotestorage/core
I set up a test repo over here, with the minimum possible code to merely test that the build runs without errors: https://github.com/remotestorage/rsjs-typescript-example
I ran that locally against this branch after building the types and release from it on my computer, which resulted in a clean build. So I will merge this one and then use the new release tag in the test repo once available.
FYI: This fix, among others, has been released with v2.0.0-beta.3
.
Replaces interfaces declared in .d.ts files by exported types from .ts files.
This way the interfaces are generated in
release/types/*.d.ts
and available for typescript projects.