Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Creating a TypeScript Declaration File

via Pluralsight

Overview

Knowing how to create TypeScript declaration files is an essential skill for any TypeScript developer. This course covers the in’s and out’s of TypeScript declaration files, including what they are, why they are useful, and how to create them.

In today's fast paced web environment, it’s impossible to build a modern TypeScript application without the inclusion of declaration files. Declaration files allow us to enhance our classes and functions allowing us to push our code to a more professional and readable level. In this course, Creating a TypeScript 3 Declaration File, you’ll learn all about building and modifying TypeScript Declaration Files. First, you’ll explore the different library patterns contained in definition files. This includes what they are, what they are used for, and how to identify them. Next, you’ll discover how to create your own declaration files and some of the options available to you. Finally, you’ll learn how to publish a newly created declaration file. When you’re finished with this course, you’ll have the skills necessary to allow you to create, update, and maintain your own TypeScript Declaration Files.

Syllabus

  • Course Overview 1min
  • Declaration File Fundamentals 17mins
  • Building a Declaration File 43mins
  • Creating Your Own Library 26mins

Taught by

Matthew Kruczek

Reviews

3.9 rating at Pluralsight based on 39 ratings

Start your review of Creating a TypeScript Declaration File

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.