Skip to content

Commit 77b25d4

Browse files
committed
Rename from TypeAliasDeclaration to TypeAlias
1 parent 7785118 commit 77b25d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

draft/object-types.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ AST:
4141

4242
```ts
4343
{
44-
kind: TypeAliasDeclaration,
44+
kind: TypeAlias,
4545
name: Identifier,
4646
type: string | number
4747
}
@@ -60,7 +60,7 @@ AST:
6060

6161
```ts
6262
{
63-
kind: TypeAliasDeclaration,
63+
kind: TypeAlias,
6464
name: Identifier,
6565
type: {
6666
kind: TypeLiteral,
@@ -88,9 +88,9 @@ type D = {
8888
AST:
8989

9090
```ts
91-
// TypeAliasDeclaration
91+
// TypeAlias
9292
{
93-
kind: TypeAliasDeclaration,
93+
kind: TypeAlias,
9494
name: Identifier,
9595
type: {
9696
kind: TypeLiteral,
@@ -128,9 +128,9 @@ type D = {
128128
AST:
129129

130130
```ts
131-
// TypeAliasDeclaration
131+
// TypeAlias
132132
{
133-
kind: TypeAliasDeclaration,
133+
kind: TypeAlias,
134134
name: Identifier,
135135
type: {
136136
kind: TypeLiteral,

0 commit comments

Comments
 (0)