remove any type

This commit is contained in:
Bart committed 2025-02-01 23:15:40 +01:00
1 parent ddb9925e18
commit f03183055b
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
export default function add(x: number): any {
export default function add(x: number) {
const sum = (y: number): any => add(x + y);
// set .valueOf to return the current sum when the object is coerced to a primitive
// for example, when it is compared to a number