Module: core/commandVersionUpgrades/canonicalizeAndValidateCommand
Functions
canonicalizeAndValidateCommand
▸ canonicalizeAndValidateCommand(command): EnforceUndefined<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
EnforceUndefined<CommandComplete>
The normalized command argument
Defined in
core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:32
checkForOldInference
▸ checkForOldInference(graph, partialTargets): Promise<void>
Parameters
| Name | Type |
|---|---|
graph | Graph |
partialTargets | PartialTargetDescriptor[] |
Returns
Promise<void>
Defined in
core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:120