We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4926f commit 149976fCopy full SHA for 149976f
1 file changed
test/index.ts
@@ -1,2 +1,7 @@
1
-# typescript test
+// typescript test
2
+
3
+// 映射类型
4
+type Record<K extends keyof any, T> = {
5
+ [P in K]: T;
6
+}
7
0 commit comments