mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
update tsconfig.json
This commit is contained in:
1 parent
71de49fc49
commit
fbd8796b8d
3 files changed
+3
-2
No files matched your search
@@ -7,6 +7,7 @@
|
||||
"moduleResolution": "node",
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"composite": true,
|
||||
"esModuleInterop": true,
|
||||
"allowJs": false,
|
||||
"resolveJsonModule": true
|
||||
|
||||
@@ -78,7 +78,7 @@ async function get(ctx: Context) {
|
||||
async function post(ctx: Context) {
|
||||
const {
|
||||
host, port, name, username, password,
|
||||
// @ts-expect-error
|
||||
// @ts-ignore
|
||||
} = ctx.request.body;
|
||||
let mongourl = 'mongodb://';
|
||||
if (username) mongourl += `${username}:${password}@`;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"composite": true,
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
"composite": true,
|
||||
"strictBindCallApply": true,
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "dist",
|
||||
|
||||
Reference in new issue
Block a user