Explore Library
TypeScriptWorking with JavaScript & Type Declarations

55 items

1

Module Augmentation Basics

Flashcard
2

Misplaced @ts-ignore Directive

Code Quiz
3

JSDoc @typedef Property Syntax

Code Quiz
4

Module Augmentation Basics

Slides / Video
5

Type-Checking JS with allowJs and checkJs

Slides / Video
6

Generating Declaration Files Automatically

Slides / Video
7

Writing Declaration Files for Untyped Libraries

Slides / Video
8

Installing @types from DefinitelyTyped

Slides / Video
9

Ambient Modules and Global Declarations

Slides / Video
10

The declare Keyword for Ambient Declarations

Slides / Video
11

What Declaration Files Are

Slides / Video
12

esModuleInterop for JS Interop

Slides / Video
13

typeRoots and types Configuration

Slides / Video
14

TypeScript Check Comments Explained

Slides / Video
15

Gradual Migration to TypeScript

Slides / Video
16

JSDoc Type Annotations in JavaScript

Slides / Video
17

@ts-check and @ts-nocheck

Quiz
18

Purpose of Declaration Files

Quiz
19

Installing @types Packages

Quiz
20

Gradual JS to TS Migration

Quiz
21

declare namespace Usage

Quiz
22

@param and @type Precision

Quiz
23

Ambient Variable and Function Declarations

Quiz
24

JSDoc Type Annotations

Quiz
25

Automatic Type Acquisition

Quiz
26

@ts-ignore vs @ts-expect-error

Quiz
27

Typing the global Object

Quiz
28

Declaring Untyped Modules

Quiz
29

The declare Keyword

Quiz
30

Overloaded Signatures in .d.ts

Code Quiz
31

JSDoc @param and @returns

Code Quiz
32

UMD Global Declaration Syntax

Code Quiz
33

Implicit any from JS Import

Code Quiz
34

JSDoc @type Annotation

Code Quiz
35

Triple-Slash Reference Syntax

Code Quiz
36

declare namespace Members

Code Quiz
37

Ambient const enum

Code Quiz
38

Ambient Class Shape

Code Quiz
39

Installing @types Packages

Code Quiz
40

Ambient Variable with declare

Code Quiz
41

Ambient Function Signature

Code Quiz
42

Value Inside a .d.ts File

Code Quiz
43

Installing @types Packages

Flashcard
44

Triple-Slash Directives

Flashcard
45

The declare Keyword

Flashcard
46

Structure of an @types Package

Flashcard
47

Wildcard Module Declarations

Flashcard
48

JSDoc for Typing JavaScript

Flashcard
49

@ts-ignore vs @ts-expect-error

Flashcard
50

Ambient Global Variables

Flashcard
51

Gradual JS to TS Migration

Flashcard
52

Handling Implicit any

Flashcard
53

Ambient Functions

Flashcard
54

@ts-check and @ts-nocheck

Flashcard
55

Global Augmentation with declare global

Flashcard
FlashcardIntermediate

Module Augmentation Basics

Module augmentation lets you add members to an existing module's types via declaration merging.

Question

What is module augmentation in TypeScript?

Click to reveal answer