diff --git a/docs/README.md b/docs/README.md index 648f951..b0ac3e0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,4 +2,4 @@ Codoc is a GitHub action that helps keep track of documentation. #### src/myfile.ts -This file contains a function `compute` that takes in two numbers (num1 and num2), and returns the sum of these two numbers. \ No newline at end of file +This file contains a function `compute` that takes in two numbers (num1 and num2), and returns the product of these two numbers. \ No newline at end of file diff --git a/src/myfile.ts b/src/myfile.ts index 08c7c96..e264bab 100644 --- a/src/myfile.ts +++ b/src/myfile.ts @@ -1,3 +1,3 @@ function compute(num1: number, num2: number): number { - return num1 + num2; + return num1 * num2; } \ No newline at end of file