mirror of
https://github.com/github/codeql-action.git
synced 2026-10-28 16:47:16 +00:00
Rename optional and undefinable functions for clarity; update related schemas to use optionalOrNull
This commit is contained in:
@@ -240,8 +240,8 @@ export function isVersionInfo(x: unknown): x is VersionInfo {
|
||||
json.validateSchema(
|
||||
{
|
||||
version: json.string,
|
||||
features: json.undefinable(json.object),
|
||||
overlayVersion: json.undefinable(json.number),
|
||||
features: json.optional(json.object),
|
||||
overlayVersion: json.optional(json.number),
|
||||
},
|
||||
x,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user