I am using Typescript and want to run a function or set static properties of classes directly via the chrome console to iterate faster. But I don't know how.
I use TypeScript.
You cannot use Typescript in Chrome. Typescript is superset of JS and you must first compile .TS file to .JS file. If you try use TS in browser, you just get an syntax error.
If you want, you can use extensions for Chrome (for example https://chrome.google.com/webstore/detail/typescript-console/omklacjbengpcndogglbpjfifmiagmgp), but I do not have any experience with this. I'm pretty sure, that this do not speed up coding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With