質問編集履歴

2

型定義ミス

2021/11/08 07:41

投稿

fijino
fijino

スコア136

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  type BBBB<T> = {
12
12
 
13
- [T in keyof T]: string | boolean
13
+ [P in keyof T]: string | boolean
14
14
 
15
15
  }
16
16
 

1

余計な文字を削除

2021/11/08 07:41

投稿

fijino
fijino

スコア136

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  [T in keyof T]: string | boolean
14
14
 
15
- }https://teratail.com/questions/input#
15
+ }
16
16
 
17
17
 
18
18