Remove use of any in scripts/source-map.ts

This commit is contained in:
Robert
2024-02-06 17:04:33 +00:00
parent 31ff3577c4
commit f0ce52d01a

View File

@@ -243,7 +243,7 @@ type WorkflowRunListItem = {
async function replaceAsync(
str: string,
regex: RegExp,
replacer: (substring: string, ...args: any[]) => Promise<string>,
replacer: (substring: string, ...args: string[]) => Promise<string>,
) {
const promises: Array<Promise<string>> = [];
str.replace(regex, (match, ...args) => {