-
Notifications
You must be signed in to change notification settings - Fork 3
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
Switch to TypeScript #4
Comments
Если этот вариант потребует компилировать и билдить код, то лучше избежать подобного, так как становится сложнее работать с кодом и контрибьюторам потребуется устанавливать дополнительное ПО для работы с сайтом. |
Да, это минус. Плюс — легче код писать и читать. Надо попробовать и взвесить. |
There are a few options to write TypeScript without installing tools, compiling at client side: |
The former — niutech/typescript-compile — is dramatically outdated. The latter — basarat/typescript-script — works on a website, such as Github Pages, but does not work locally (CORS forbids loading files as resources inside scripts, hence TS fails to load modules). Failing to work offline is a minus too. |
I can try to write the whole program in a single file. Hello to #2 |
Formally switched. Now fixing type errors. |
done |
https://webpack.js.org/guides/typescript/
The text was updated successfully, but these errors were encountered: