Cross-platform Desktop Application Development: Electron, Node, NW.js, and React
by Dmitry Sheiko
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access