Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/handbook-v1/en/definitely typed/DT Introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Introduction to Definitely Typed
layout: docs
permalink: /docs/definitely-typed/dt-introduction.html
oneline: "How to write a definition file for DT."
wip: true
---

## Before You Start

If you'd like to learn how to write a high quality type definition (`.d.ts` file) then first run through the [Declaration Files](/docs/handbook/declaration-files/introduction.html).
These guides are specific to how Definitely Typed works and not about how to write a great definition file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Try DT Changes Locally
layout: docs
permalink: /docs/definitely-typed/testing-locally.html
oneline: "How to make changes to a DT definition file in your project"
wip: true
---

Before you

## Declaration Merging

If the file you want to extend include `interfaces`, then you can include an ambient

```ts
```

## Patch Package
7 changes: 7 additions & 0 deletions packages/typescriptlang-org/src/lib/oldHandbookNavigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ export const oldHandbookNavigation: NavItem[] = [
{ id: "consumption", title: "Consumption" },
],
},
{
title: "Definitely Typed",
id: "definitely-typed",
directory: "handbook/definitely-typed",
index: "dt-introduction",
items: [{ id: "dt-introduction", title: "Introduction" }],
},
{
title: "Project Configuration",
id: "project-config",
Expand Down
1 change: 1 addition & 0 deletions packages/typescriptlang-org/src/templates/handbook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export const pageQuery = graphql`
title
disable_toc
oneline
wip
}
}
}
Expand Down