Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit f6958b6

Browse files
committed
Merge pull request #61 from Microsoft/updateDeclMergingBasicConcepts
Update Basic Concepts section of Declaration Merging
2 parents 8e85991 + a0ad20f commit f6958b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/Declaration Merging.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Declaration merging is not limited to just two declarations, as any number of de
1313

1414
# Basic Concepts
1515

16-
In TypeScript, a declaration exists in one of three groups: namespace, type, or value.
17-
Declarations that create a namespace are accessed using a dotted notation when writing a type.
18-
Declarations that create a type do just that: create a type that is visible with the declared shape and bound to the given name.
19-
Lastly, declarations that create a value are those that are visible in the output JavaScript (e.g. functions and variables).
16+
In TypeScript, a declaration creates entities in at least one of three groups: namespace, type, or value.
17+
Namespace-creating declarations create a namespace, which contains names that are accessed using a dotted notation.
18+
Type-creating declarations do just that: they create a type that is visible with the declared shape and bound to the given name.
19+
Lastly, value-creating declarations create values that are visible in the output JavaScript.
2020

2121
| Declaration Type | Namespace | Type | Value |
2222
|------------------|:---------:|:----:|:-----:|

0 commit comments

Comments
 (0)