3 ms·
> we are planning an eventual transition to TypeScript Just switch today. That's kind of silly to write a whole bunch of untyped code and then move to types. E
by latchkey 9y ago
> we are planning an eventual transition to TypeScript
Just switch today. That's kind of silly to write a whole bunch of untyped code and then move to types. Especially since you can do it over time with TS.
All these tests that something is a string... why not let a compiler do that for you?
https://github.com/LiskHQ/lisk/blob/development/test/api/accounts.js#L17 https://github.com/LiskHQ/lisk/blob/development/test/api/acc...
- chauey 9y agoyep i love Typescript! Been using it with Angular 2 and Angular 4. I come from a C#/.NET background and don't want to go back. I even co-founded a .NET user group and the name of my company has ".NET" in it! No reason to not use TypeScript.. Can use what you want or continue writing javascript in the .ts files. Might need to change some default settings, don't know, i've had NO reason to NOT get all these autocomplete/intellisense/advice/errors/warnings/best-practices.