Skip to content

Commit

Permalink
doc: update typescript.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 12, 2022
1 parent ef5a27f commit 144f263
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ TypeScript 备忘清单

TypeScript 是具有类型语法的 JavaScript。Interface 是为了匹配它们的运行时行为而构建的。

- [JavaScript 备忘清单](./javascript.md)
- [TypeScript 官网](https://www.typescriptlang.org/)
- [JavaScript 备忘清单](./javascript.md) _(jaywcjlove.github.io)_
- [TypeScript 官网](https://www.typescriptlang.org/) _(typescriptlang.org)_

### 内置类型基元

Expand Down Expand Up @@ -1307,3 +1307,9 @@ type PointDetail = Data[number];
const point = [3, 4] as const
// type 'readonly [3, 4]'
```

另见
----

- [JavaScript 备忘清单](./javascript.md)
- [TypeScript 官网](https://www.typescriptlang.org/) _(typescriptlang.org)_

0 comments on commit 144f263

Please sign in to comment.