From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
TypeScript classes ES3 vs. ES2015
From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain
TypeScript classes ES3 vs. ES2015
- [Instructor] Learning TypeScript is absolutely essential to learning SPFx for that matter, Angular React. Most of the things these days we're writing we're doing that in TypeScript. And it would be completely unfair to say that this chapter is all you need to watch about TypeScript. TypeScript is one of those things that the more you write the better you get. So at the end of this course in the conclusion part I'll point you to some resources that you should watch as far as TypeScript goes. And naturally the more you use it the better you'll become. However, let me show you one other small example. Things that TypeScript gives you that makes TypeScript so valuable. So lets go ahead and run NPM start one more time. And now this is running the transpiler so lets go back to our code here. And I'm going to say, well class. So it gives me the ability to write classes. So class something static instances equals lets say zero. And constructor and something.instances plus plus. But you see…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
What is TypeScript?2m 17s
-
(Locked)
Set up a simple TypeScript project7m 31s
-
(Locked)
TypeScript transpilation and sourcemaps4m 16s
-
(Locked)
TypeScript type checking and .d.ts files3m 20s
-
(Locked)
TypeScript modules and renaming across modules2m 40s
-
(Locked)
TypeScript classes ES3 vs. ES20154m 2s
-
(Locked)
-
-
-