fix: init

This commit is contained in:
2023-10-11 14:52:02 +08:00
commit 2f32a62490
8 changed files with 1308 additions and 0 deletions

5
src/index.ts Normal file
View File

@@ -0,0 +1,5 @@
export * from './math'
export function add(num1: number, num2: number) {
return num1 + num2;
}

3
src/math.ts Normal file
View File

@@ -0,0 +1,3 @@
export function getRandomNumber() {
return Math.random();
}