DEV Community

TSConf 2019: Types on every desk, in every home, for every JS developer

Remo H. Jansen on October 14, 2019

I was fortunate to join the second TypeScript conference last Friday, and, in this blog post, I would like to share my thoughts about it. ...
Collapse
 
danvk profile image
Dan Vanderkam

Thanks for the kind words about literate-ts, Remo! I've found it extremely useful for Effective TypeScript and think it has great potential as a tool for other books and even blog posts. I'm curious what we'd need to do to verify your books using it.

Collapse
 
remojansen profile image
Remo H. Jansen

In the past I have worked with Packt Publishing and they don't use a markdown-based editing environment so it would be hard to integrate with literate-ts but in the future I plan to self-publish so that should not be a problem.

Collapse
 
danvk profile image
Dan Vanderkam

It currently works with Asciidoc (which O'Reilly uses for books) but it should be possible simple to extend to Markdown. Please get in touch if you'd like to work together on this!

Collapse
 
antonrusak profile image
Anton Rusak

Thanks for your great report Remo! TS is really an awesome language moving things forward.

Type system is Turing-complete. Mind = blown.

Collapse
 
expalmer profile image
Palmer Oliveira • Edited

How do I start with TS ?

Collapse
 
emptyother profile image
emptyother

If you know javascript ES6, you already know most of it. And if you know nodejs, you should be able to set up a compile step. Then just go through Microsofts own basic types documentation to figure out how to do types. Best part is that you don't need to know all of it.. You can slowly turn your javascript into typescript as you learn more.

I'd recommend you use VSCode as editor because of its very good integration with typescript. I've not tested it in editors like sublime or atom but I've tried VS2019, it is sub-optimal.

I would also recommend this git-book. Wow, they've added a lot of stuff since last time I've read it. But take the opinions in the book with a grain of salt.

Collapse
 
giogonzo profile image
Giovanni Gonzaga

Thanks for the summary ❤

Could you elaborate a bit on "Improvements in the type system, in particular, improvements in the support for functional programming patterns."?

Collapse
 
remojansen profile image
Remo H. Jansen

You can check what has been added in the last few releases here. In the blog post I was referring to a few additions that help while working with higher-order functions:

Anders did a few demos with good examples, so please check the recording of the talk once it is available online.

Collapse
 
giogonzo profile image
Giovanni Gonzaga

makes sense, thank you. I missed the keynote was about "all the new features since TSConf 2018", and not just the latest 3.7 :)

Collapse
 
gavinr profile image
Gavin Rehkemper

Any mention during the conference about getting TypeScript into Svelte?