Module: core/commandVersionUpgrades/canonicalizeAndValidateCommand
Functions
canonicalizeAndValidateCommand
▸ canonicalizeAndValidateCommand(command
): CommandComplete
Given a command argument which comes from the client, normalize it so that it conforms to the latest version of the expected cursorless command argument.
Parameters
Name | Type | Description |
---|---|---|
command | Command | The command argument to normalize |
Returns
The normalized command argument
Defined in
core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:30
checkForOldInference
▸ checkForOldInference(graph
, partialTargets
): Promise
<void
>
Parameters
Name | Type |
---|---|
graph | Graph |
partialTargets | PartialTargetDescriptor [] |
Returns
Promise
<void
>
Defined in
core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:116