Free Download Creating a Type Declaration File in TypeScriptDan Wellman | Duration: 1:09 h | Video: H264 1280x720 | Audio: AAC 48 kHz 2ch | 191 MB | Language: English
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.