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:
committed by
Andrew Kushnir
parent
ccbb913f4b
commit
907363348a
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user