From c2b24b9493e511566c85a5f22174e5aa726623a6 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Wed, 25 Jan 2023 10:34:23 -0500 Subject: [PATCH] import type --- routes/api.ts | 2 +- routes/dashboard.ts | 2 +- routes/login.ts | 2 +- routes/lotOccupancies.ts | 2 +- routes/lots.ts | 2 +- routes/maps.ts | 2 +- routes/print.ts | 2 +- routes/reports.ts | 2 +- routes/workOrders.ts | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/routes/api.ts b/routes/api.ts index ff1f1fb6..8570c06d 100644 --- a/routes/api.ts +++ b/routes/api.ts @@ -1,4 +1,4 @@ -import { Router, RequestHandler } from 'express' +import { Router, type RequestHandler } from 'express' import handler_milestoneICS from '../handlers/api-get/milestoneICS.js' diff --git a/routes/dashboard.ts b/routes/dashboard.ts index 3bfecba6..044af234 100644 --- a/routes/dashboard.ts +++ b/routes/dashboard.ts @@ -1,4 +1,4 @@ -import { Router, RequestHandler } from 'express' +import { Router, type RequestHandler } from 'express' import handler_dashboard from '../handlers/dashboard-get/dashboard.js' diff --git a/routes/login.ts b/routes/login.ts index 5e20fa0b..524ae844 100644 --- a/routes/login.ts +++ b/routes/login.ts @@ -1,4 +1,4 @@ -import { Router, RequestHandler, Request, Response } from 'express' +import { Router, type RequestHandler, type Request, type Response } from 'express' import * as configFunctions from '../helpers/functions.config.js' diff --git a/routes/lotOccupancies.ts b/routes/lotOccupancies.ts index 77d214aa..648a4fee 100644 --- a/routes/lotOccupancies.ts +++ b/routes/lotOccupancies.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import handler_search from '../handlers/lotOccupancies-get/search.js' import handler_doSearchLotOccupancies from '../handlers/lotOccupancies-post/doSearchLotOccupancies.js' diff --git a/routes/lots.ts b/routes/lots.ts index d3321a0c..d7b2c052 100644 --- a/routes/lots.ts +++ b/routes/lots.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import * as permissionHandlers from '../handlers/permissions.js' diff --git a/routes/maps.ts b/routes/maps.ts index 07416e5e..df2525c6 100644 --- a/routes/maps.ts +++ b/routes/maps.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import * as permissionHandlers from '../handlers/permissions.js' diff --git a/routes/print.ts b/routes/print.ts index 0f42f83b..b81fac49 100644 --- a/routes/print.ts +++ b/routes/print.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import handler_screen from '../handlers/print-get/screen.js' import handler_pdf from '../handlers/print-get/pdf.js' diff --git a/routes/reports.ts b/routes/reports.ts index 65026a34..274f014d 100644 --- a/routes/reports.ts +++ b/routes/reports.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import handler_search from '../handlers/reports-get/search.js' import handler_reportName from '../handlers/reports-get/reportName.js' diff --git a/routes/workOrders.ts b/routes/workOrders.ts index 8a7510f3..88e7fc8e 100644 --- a/routes/workOrders.ts +++ b/routes/workOrders.ts @@ -1,4 +1,4 @@ -import { RequestHandler, Router } from 'express' +import { type RequestHandler, Router } from 'express' import * as permissionHandlers from '../handlers/permissions.js'