Skip to content

Commit af440c4

Browse files
committed
fix(api): fixed failing apis due to typescript issues
added seperate package.json and tsconfig.json for api directory
1 parent 57c14ae commit af440c4

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ sw.*
9191

9292
# Vercel cli
9393
.vercel
94+
.vercel_cache

api/tsconfig.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2018",
4+
"module": "ESNext",
5+
"moduleResolution": "Node",
6+
"lib": [
7+
"ESNext",
8+
"ESNext.AsyncIterable",
9+
],
10+
"esModuleInterop": true,
11+
"allowJs": true,
12+
"sourceMap": true,
13+
"strict": true,
14+
"noEmit": true,
15+
"experimentalDecorators": true,
16+
"baseUrl": ".",
17+
"types": [
18+
"@types/node",
19+
]
20+
},
21+
"exclude": [
22+
"node_modules",
23+
"dist"
24+
]
25+
}

0 commit comments

Comments
 (0)