Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit ecae629

Browse files
committed
fix: Add files property to package.json
1 parent 04791f8 commit ecae629

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,13 @@
2020
"ts-jest": "^26.4.4",
2121
"tslib": "^2.1.0",
2222
"typescript": "^4.1.3"
23+
},
24+
"files": [
25+
"package.json",
26+
"readme.md",
27+
"dist"
28+
],
29+
"prettier": {
30+
"printWidth": 120
2331
}
2432
}

src/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* A highly complex function that adds two numbers together.
3+
* @param a The first number
4+
* @param b The second number
5+
* @return The two numbers added together
6+
*/
17
export function add(a: number, b: number) {
28
return a + b;
39
}

0 commit comments

Comments
 (0)