Join Sahil Malik for an in-depth discussion in this video Set up a simple TypeScript environment, part of Developing Cordova Apps with Visual Studio Code and Typescript.
- [Instructor] So, now that you understand…some basics of TypeScript,…I want to show you TypeScript in action, also.…The reason being, that before we are ready…to use Cordova in TypeScript,…I want to illustrate some unique challenges…TypeScript creates for us…that are unique to Cordova.…So, let's go ahead and understand how TypeScript works…in a simple web-based project first.…So, let's go ahead and create a directory.…I'm just going to call it VSCodeTS,…the idea being that this is a Visual Studio Code project…that understands TypeScript.…
It'll be a simple website, really.…This is an npm Modern Dev-based project,…so I'll say npm init, give it a name,…and just go with the defaults for now.…Let's open this in VS Code…and let's start modifying the package.json file first.…So, what do we intend to do here?…Well, we intend to write a simple website…that understands TypeScript…so we can see how TypeScript works behind the scenes.…
So, I'm going to need some devDependencies…and dependencies,…let's start with the devDependencies first.…
- Setting up your environment
- Adding the browser platform
- Adding and debugging the Android and iOS platforms
- Interacting with Native using plugins
- Why use plugins?
- Using TypeScript with Cordova
- Converting your code to TypeScript
Skill Level Intermediate
1. Setting Up Your Environment
2. Going Multiplatform
Add the browser platform3m 7s
3. Interacting with Native Using Plugins
4. Using TypeScript with Cordova
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.