Merge pull request #2585 from erplsf/dev

Change typescript definitions for sprintf/vsprintf
This commit is contained in:
hydroflame
2022-01-12 11:15:13 -05:00
committed by GitHub
4 changed files with 14 additions and 16 deletions
+2 -2
View File
@@ -5630,7 +5630,7 @@ export interface NS extends Singularity {
* @param args - Formating arguments.
* @returns Formated text.
*/
sprintf(format: string, ...args: string[]): string;
sprintf(format: string, ...args: any[]): string;
/**
* Format a string with an array of arguments.
@@ -5642,7 +5642,7 @@ export interface NS extends Singularity {
* @param args - Formating arguments.
* @returns Formated text.
*/
vsprintf(format: string, args: string[]): string;
vsprintf(format: string, args: any[]): string;
/**
* Format a number