refactor(dev-infra): ensure compatibility with noImplicitOverride (#42512)

Adds the `override` keyword to the `dev-infra` sources to ensure
compatibility with `noImplicitOverride`.

PR Close #42512
This commit is contained in:
Paul Gschwendtner
2021-06-07 21:00:18 +02:00
committed by Andrew Kushnir
parent ccbb913f4b
commit 907363348a
11 changed files with 19 additions and 19 deletions
@@ -78,12 +78,12 @@ export class VirtualGitClient extends AuthenticatedGitClient {
* Override the actual GitClient getLatestSemverTag, as an actual tag cannot be retrieved in
* testing.
*/
getLatestSemverTag() {
override getLatestSemverTag() {
return new SemVer('0.0.0');
}
/** Override for the actual Git client command execution. */
runGraceful(args: string[], options: SpawnSyncOptions = {}): SpawnSyncReturns<string> {
override runGraceful(args: string[], options: SpawnSyncOptions = {}): SpawnSyncReturns<string> {
const [command, ...rawArgs] = args;
switch (command) {
case 'push':