Creating a Type Declaration File in TypeScript
Offered By: Pluralsight
Course Description
Overview
This course will teach you how to create TypeScript declaration files to provide type information for the most common types of JavaScript library – those based on globals, or modern modular ones that use ES Modules, CommonJS, AMD, or UMD modules.
In this course, Creating a Type Declaration File in TypeScript, you'll learn how to create declaration files which provide type information when using JavaScript libraries. First, you'll learn exactly what declaration files are for and see how they can be generated automatically by the compiler, as well as how they can be enhanced with JSDoc. Next, you'll discover how to create declaration files manually for all of the most common kinds of libraries like those based on browser globals, or those based on modules. Finally, you'll see how you can publish declaration files to the public DefinitelyTyped repository to share your declaration files with the world. When you're finished with this course, you'll have the skills and knowledge to use create declaration files for any kind of library that you might want to use in your next project.
In this course, Creating a Type Declaration File in TypeScript, you'll learn how to create declaration files which provide type information when using JavaScript libraries. First, you'll learn exactly what declaration files are for and see how they can be generated automatically by the compiler, as well as how they can be enhanced with JSDoc. Next, you'll discover how to create declaration files manually for all of the most common kinds of libraries like those based on browser globals, or those based on modules. Finally, you'll see how you can publish declaration files to the public DefinitelyTyped repository to share your declaration files with the world. When you're finished with this course, you'll have the skills and knowledge to use create declaration files for any kind of library that you might want to use in your next project.
Syllabus
- Course Overview 1min
- Declaration File Basics 17mins
- Creating Declaration Files Manually 33mins
- Publishing Declaration Files 16mins
Taught by
Pluralsight
Related Courses
DEV201x: Introduction to TypeScriptMicrosoft via edX Developing Dynamic Web Applications Using Angular
Microsoft via edX Introduction to TypeScript 2
Microsoft via edX Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera Angular Fundamentals
Microsoft via edX