Skip to Content
Learning TypeScript 2.x - Second Edition
book

Learning TypeScript 2.x - Second Edition

by Remo H. Jansen
April 2018
Beginner content levelBeginner
536 pages
13h 21m
English
Packt Publishing
Content preview from Learning TypeScript 2.x - Second Edition

Working with Dependencies

In the previous chapter, we learned how to work with classes and interfaces. We also learned about the SOLID principles and other object-oriented programming best practices. In this chapter, we will learn how to work with dependencies. The first part of the chapter will focus on the usage of modules. The second part of the chapter will focus on the management of dependencies in object-oriented programming.

We are going to cover the following topics:

  • Third-party dependencies
  • Internal modules
  • External modules
  • Asynchronous module definition (AMD)
  • CommonJS modules
  • ES6 modules
  • Browserify and universal module definition (UMD)
  • Circular dependencies
  • Dependency injection
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.
Start your free trial

You might also like

Mastering TypeScript - Fourth Edition

Mastering TypeScript - Fourth Edition

Nathan Rozentals
Learning TypeScript

Learning TypeScript

Josh Goldberg
TypeScript for Beginners

TypeScript for Beginners

Bharath Thippireddy

Publisher Resources

ISBN: 9781788391474Supplemental Content