-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Use TypeScript #10524
Labels
Comments
turt2live
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Aug 8, 2019
For element-hq/element-web#10524 Upgrading to babel 7 gets a lot of the compilation stuff for free. The major changes we care about are: * The packages are now namespaced (hence all the package changes) * We use the `env` preset instead of the long-since deprecated es20XX packages. * Added `--verbose` to maintain log output from the previous version. This also meant fixing `ScalarAuthClient`: we can no longer mix `module.exports` and `import` in the same file. The SdkConfig was converted to TypeScript to prove this works (it does).
6 tasks
turt2live
added a commit
to matrix-org/matrix-react-sdk
that referenced
this issue
Aug 8, 2019
For element-hq/element-web#10524 Upgrading to babel 7 gets a lot of the compilation stuff for free. The major changes we care about are: * The packages are now namespaced (hence all the package changes) * We use the `env` preset instead of the long-since deprecated es20XX packages. * Added `--verbose` to maintain log output from the previous version. This also meant fixing `ScalarAuthClient`: we can no longer mix `module.exports` and `import` in the same file. The SdkConfig was converted to TypeScript to prove this works (it does).
See matrix-org/matrix-react-sdk#3292 (comment) for why this is harder than expected. Any domain experts are welcome to comment (please do!). |
We have an amount of TypeScript now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement in a way that makes things easier for development (add on rather than rewrite).
SdkConfig
looks like a good candidate)The text was updated successfully, but these errors were encountered: