質問編集履歴
1
valuesの定義追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,6 +24,8 @@
|
|
24
24
|
|
25
25
|
```typescript
|
26
26
|
|
27
|
+
const values:("A"|"B")[] = ["A","B"]
|
28
|
+
|
27
29
|
let a = typeof values //let a: "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"
|
28
30
|
|
29
31
|
```
|