Harmonize tsconfig for frontend and server.
This commit is contained in:
parent
894ee97fdf
commit
22bff3496a
30 changed files with 77 additions and 53 deletions
|
@ -3,7 +3,7 @@ import { promises as fs } from "graceful-fs";
|
|||
import ErrorTypes from "../utils/errorTypes";
|
||||
import Logger from "../logger";
|
||||
import * as Resources from "../utils/resources";
|
||||
import { Request, Response } from "express";
|
||||
import type { Request, Response } from "express";
|
||||
|
||||
const indexHtml = __dirname + "/../../client/index.html";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as Resources from "../utils/resources";
|
|||
import { handleJSONWithData, RequestData } from "../utils/resources";
|
||||
import { normalizeString, parseInteger } from "../shared/utils/strings";
|
||||
import { forConstraint } from "../shared/validation/validator";
|
||||
import { Request, Response } from "express";
|
||||
import type { Request, Response } from "express";
|
||||
import { isString, Mail, MailId } from "../types";
|
||||
|
||||
const isValidId = forConstraint(CONSTRAINTS.id, false);
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as Resources from "../utils/resources";
|
|||
import { handleJSONWithData } from "../utils/resources";
|
||||
import { normalizeString } from "../shared/utils/strings";
|
||||
import { forConstraint } from "../shared/validation/validator";
|
||||
import { Request, Response } from "express";
|
||||
import type { Request, Response } from "express";
|
||||
import {
|
||||
isMonitoringToken,
|
||||
JSONObject,
|
||||
|
|
|
@ -6,7 +6,7 @@ import { normalizeMac, normalizeString } from "../shared/utils/strings";
|
|||
import { forConstraint, forConstraints } from "../shared/validation/validator";
|
||||
import * as Resources from "../utils/resources";
|
||||
import { handleJSONWithData } from "../utils/resources";
|
||||
import { Request, Response } from "express";
|
||||
import type { Request, Response } from "express";
|
||||
import {
|
||||
CreateOrUpdateNode,
|
||||
DomainSpecificNodeResponse,
|
||||
|
|
|
@ -5,7 +5,7 @@ import { handleJSONWithData, RequestData } from "../utils/resources";
|
|||
import { getTasks, Task } from "../jobs/scheduler";
|
||||
import { normalizeString } from "../shared/utils/strings";
|
||||
import { forConstraint } from "../shared/validation/validator";
|
||||
import { Request, Response } from "express";
|
||||
import type { Request, Response } from "express";
|
||||
import {
|
||||
isString,
|
||||
isTaskSortField,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue