update the type

This commit is contained in:
steak-zhuo 2023-01-15 13:06:35 +08:00
parent 8d960e7f0e
commit 6941a2b34f

View File

@ -92,9 +92,9 @@ comments: true
```typescript title=""
/* 使用多种「基本数据类型」来初始化「数组」 */
const numbers: number = []
const characters: string = []
const booleans: boolean = []
const numbers: number[] = []
const characters: string[] = []
const booleans: boolean[] = []
```
=== "C"