3 ms·
You can use types written in a .d.ts file in javascript. You reference them with the JSDoc annotations. And no it's not the case you may as well write typescri
by LAC-Tech 4y ago
You can use types written in a .d.ts file in javascript. You reference them with the JSDoc annotations.
And no it's not the case you may as well write typescript at that point - because you're still using the actual language the browser runs, and not transpiling.