mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Fix VersionInfo derived type to pass linter
This commit is contained in:
@@ -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 };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user