Fix VersionInfo derived type to pass linter

This commit is contained in:
Mario Campos
2026-08-14 14:24:37 -05:00
parent b60777a215
commit 1f46830a1f

View File

@@ -25,8 +25,6 @@ export type VersionInfoBase = json.FromSchema<typeof versionInfoBaseSchema>;
/**
* The full type that describes the expected output of the `codeql version` command.
*/
export type VersionInfo = VersionInfoBase & {
// `features` remains optional, but the more specific type takes precedence
// over the `any` type derived by `FromSchema`.
export type VersionInfo = Omit<VersionInfoBase, "features"> & {
features?: { [name: string]: boolean };
};