String.Format
不起作用TypeScript
.
错误:
Run Code Online (Sandbox Code Playgroud)The property 'format' does not exist on value of type '{ prototype: String; fromCharCode(...codes: number[]): string; (value?: any): string; new(value?: any): String; }'.
attributes["Title"] = String.format(
Settings.labelKeyValuePhraseCollection["[WAIT DAYS]"],
originalAttributes.Days
);
Run Code Online (Sandbox Code Playgroud)