Skip to content

Commit f81f043

Browse files
committed
fix: remove oclif interface
1 parent 8a1f2af commit f81f043

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commands/force/source/retrieve.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import {
2828
requiredOrgFlagWithDeprecations,
2929
Ux,
3030
} from '@salesforce/sf-plugins-core';
31-
import { AlphabetLowercase } from '@oclif/core/lib/interfaces';
3231
import { SourceCommand } from '../../../sourceCommand.js';
3332
import {
3433
PackageRetrieval,
@@ -57,8 +56,7 @@ export class Retrieve extends SourceCommand {
5756
message: messages.getMessage('deprecation', [replacement]),
5857
};
5958
public static readonly flags = {
60-
// I have no idea why 'a' isn't matching the type AlphabetLowercase automatically
61-
'api-version': { ...orgApiVersionFlagWithDeprecations, char: 'a' as AlphabetLowercase },
59+
'api-version': { ...orgApiVersionFlagWithDeprecations, char: 'a' as const },
6260
loglevel,
6361
'target-org': requiredOrgFlagWithDeprecations,
6462
retrievetargetdir: Flags.directory({

0 commit comments

Comments
 (0)