Convert some any -> unknown in build scripts

This commit is contained in:
Matt Bierner
2025-10-08 10:22:21 -07:00
parent d65085a01e
commit 77ed219366
11 changed files with 17 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
export namespace strings {
export function format(value: string, ...rest: any[]): string {
export function format(value: string, ...rest: unknown[]): string {
return value.replace(/({\d+})/g, function (match) {
const index = Number(match.substring(1, match.length - 1));
return String(rest[index]) || match;