Remove import from express-serve-static-core

Mostly because express-serve-static-core is an implicit dependency.  We
could make it explicit, but the type we imported from it is just an
alias for qs.ParsedQs anyway.
This commit is contained in:
Asher
2025-08-04 12:00:45 -08:00
committed by Asher
parent e54467fb85
commit 3f23840756
2 changed files with 4 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
import { logger } from "@coder/logger"
import { Query } from "express-serve-static-core"
import type { ParsedQs } from "qs"
import { promises as fs } from "fs"
export type Settings = { [key: string]: Settings | string | boolean | number }
@@ -52,5 +52,5 @@ export interface UpdateSettings {
* Global code-server settings.
*/
export interface CoderSettings extends UpdateSettings {
query?: Query
query?: ParsedQs
}