File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
packages/graph-explorer-proxy-server Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1- import { NextFunction , Request , Response } from "express" ;
1+ import type { NextFunction , Request , Response } from "express" ;
22import { getRequestLoggerPrefix , logger } from "./logging.js" ;
33
44/**
Original file line number Diff line number Diff line change 1- import { NextFunction , Request , Response } from "express" ;
2- import { LevelWithSilent , pino } from "pino" ;
3- import { PrettyOptions } from "pino-pretty" ;
1+ import type { NextFunction , Request , Response } from "express" ;
2+ import { type LevelWithSilent , pino } from "pino" ;
3+ import type { PrettyOptions } from "pino-pretty" ;
44import { env } from "./env.js" ;
55
66export type LogLevel = LevelWithSilent ;
Original file line number Diff line number Diff line change 1- import express , { NextFunction , Response } from "express" ;
1+ import express , { type NextFunction , type Response } from "express" ;
22import cors from "cors" ;
33import compression from "compression" ;
4- import fetch , { RequestInit } from "node-fetch" ;
4+ import fetch , { type RequestInit } from "node-fetch" ;
55import https from "https" ;
66import bodyParser from "body-parser" ;
77import fs from "fs" ;
88import path from "path" ;
99import { fromNodeProviderChain } from "@aws-sdk/credential-providers" ;
1010import aws4 from "aws4" ;
11- import { IncomingHttpHeaders } from "http" ;
11+ import type { IncomingHttpHeaders } from "http" ;
1212import { logger as proxyLogger , requestLoggingMiddleware } from "./logging.js" ;
1313import { clientRoot , proxyServerRoot } from "./paths.js" ;
1414import { errorHandlingMiddleware , handleError } from "./error-handler.js" ;
Original file line number Diff line number Diff line change 1313 /* Interop Constraints */
1414 "esModuleInterop" : true ,
1515 "forceConsistentCasingInFileNames" : true ,
16+ "verbatimModuleSyntax" : true ,
1617
1718 /* Paths */
1819 "outDir" : " ./dist" ,
You can’t perform that action at this time.
0 commit comments