3 ms·
>I'm converting a codebase of Javascript of about 200+ js files to Typescript today. Pity you! I fear such tasks. As mentioned,take advantage of async/await.
by flavio81 9y ago
>I'm converting a codebase of Javascript of about 200+ js files to Typescript today.
Pity you! I fear such tasks.
As mentioned,take advantage of async/await. Also, make sure you wrap everything in modules and access from outside through module exports.