Skip to content

Commit f2f158f

Browse files
committed
feat: add explicit any typing for Cliffy Command chains with biome-ignore comments
1 parent fb1cb24 commit f2f158f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/commands/robots/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import { moderateCommand } from './moderate.ts';
1010
import { summarizeCommand } from './summarize.ts';
1111
import { translateCaptionsCommand } from './translate-captions.ts';
1212

13-
export const robotsCommand = new Command()
13+
// biome-ignore lint/suspicious/noExplicitAny: Cliffy's chained types are too complex for TS to infer
14+
export const robotsCommand: Command<any> = new Command()
1415
.description('Run AI-powered workflows on your video assets using Mux Robots')
1516
.action(function () {
1617
this.showHelp();

src/commands/robots/translate-captions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ interface TranslateCaptionsOptions {
1010
json?: boolean;
1111
}
1212

13-
export const translateCaptionsCommand = new Command()
13+
// biome-ignore lint/suspicious/noExplicitAny: Cliffy's chained types are too complex for TS to infer
14+
export const translateCaptionsCommand: Command<any> = new Command()
1415
.description(
1516
'Create a job to translate captions on a video to another language',
1617
)

0 commit comments

Comments
 (0)