In this video I go over the concept of 'Type Annotations' within the popular Javascript compiler, TypeScript. By annotating your types, you are making your source code a lot more readable and error-free, which helps a bunch as your project gets larger or you start collaborating with others.
We take a look at annotating function return values, parameters, constants/variable declarations and even arrays. I also go over the 'any' special type which acts like a regular Javascript variable.
For more information, check this out:
https://basarat.gitbooks.io/typescrip...
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Sur cette page du site, vous pouvez voir la vidéo en ligne Type Annotations - TypeScript Programming Tutorial #1 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur dcode 05 février 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,679 fois et il a aimé 82 téléspectateurs. Bon visionnage!