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 e47f75a commit e1ed44aCopy full SHA for e1ed44a
src/index.ts
@@ -1,5 +1,5 @@
1
-const add = (a, b) => {
+const add = (a: number, b: number) => {
2
console.log(a, b)
3
}
4
5
-add();
+add(1, 2);
0 commit comments