We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0dc76 commit 3cdec07Copy full SHA for 3cdec07
TypeScript/9-problem.ts
@@ -0,0 +1,2 @@
1
+const sum = <T>(a: T, b: T): T => a + b;
2
+console.log(sum(1, 2));
0 commit comments