mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 12:05:18 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user