Skip to content

Commit ec6348b

Browse files
committed
as -> satisfies
1 parent 150a59e commit ec6348b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,13 +559,13 @@ export function setupUserConfig({
559559
}: {
560560
cli: string[];
561561
env: Record<string, unknown>;
562-
defaults: Partial<UserConfig>;
562+
defaults: UserConfig;
563563
}): UserConfig {
564564
const userConfig = {
565565
...defaults,
566566
...parseEnvConfig(env),
567567
...parseCliConfig(cli),
568-
} as UserConfig;
568+
} satisfies UserConfig;
569569

570570
userConfig.disabledTools = commaSeparatedToArray(userConfig.disabledTools);
571571
userConfig.loggers = commaSeparatedToArray(userConfig.loggers);

0 commit comments

Comments
 (0)