O'Reilly logo

Cross-platform Desktop Application Development: Electron, Node, NW.js, and React by Dmitry Sheiko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we dived into TypeScript. We examined basic types in variable declarations and in parameter constraints. We fiddled with interfaces for arrays and plain objects. You learned to interface functions and classes. We took note of abstraction features, such as member accessibility modifiers, parameter property, abstract classes, and methods. You learned to handle group entities with the enum type and string literals. We examined the reuse of interfaces with generic type. We have also seen how to install TypeScript declarations for global libraries and how to write our own when none is available. We started to work on the application. So, we set up Webpack to find and process the .ts/.tsx modules as well as to load CSS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required