Skip to content

Commit

Permalink
Fixing types for manifests versions
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Oct 30, 2021
1 parent 4cdc2c6 commit ae5007f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib/Diagnostics/BehaviorPack/Manifest/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function Diagnose(doc: TextDocument, diagnoser: DiagnosticsBuilder): void
check_min_engine_version(manifest.header.min_engine_version, doc, diagnoser);
}

function check_min_engine_version(version: string | Types.Version | undefined, doc: TextDocument, diagnoser: DiagnosticsBuilder): void {
function check_min_engine_version(version: number[] | string | Types.Version | undefined, doc: TextDocument, diagnoser: DiagnosticsBuilder): void {
const pack = diagnoser.context.getCache().BehaviorPacks.get(doc);

/**No pack then skip */
Expand Down

0 comments on commit ae5007f

Please sign in to comment.