🐛 fix types + swcrc configs

This commit is contained in:
Flam3rboy
2021-10-07 18:20:03 +02:00
parent b5905c1bba
commit c75c6f508d
11 changed files with 68 additions and 1242 deletions
+6 -1
View File
@@ -7,6 +7,11 @@
"syntax": "typescript",
"decorators": true
},
"target": "es2021"
"target": "es2021",
"baseUrl": ".",
"paths": {
"@fosscord/cdn/": ["src/index"],
"@fosscord/cdn/*": ["src/*"]
}
}
}
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "cdn for fosscord",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"types": "src/index.ts",
"scripts": {
"postinstall": "ts-patch install -s",
"test": "npm run build && jest --coverage ./tests",