Remove use of any in scripts/source-map.ts
This commit is contained in:
@@ -243,7 +243,7 @@ type WorkflowRunListItem = {
|
|||||||
async function replaceAsync(
|
async function replaceAsync(
|
||||||
str: string,
|
str: string,
|
||||||
regex: RegExp,
|
regex: RegExp,
|
||||||
replacer: (substring: string, ...args: any[]) => Promise<string>,
|
replacer: (substring: string, ...args: string[]) => Promise<string>,
|
||||||
) {
|
) {
|
||||||
const promises: Array<Promise<string>> = [];
|
const promises: Array<Promise<string>> = [];
|
||||||
str.replace(regex, (match, ...args) => {
|
str.replace(regex, (match, ...args) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user