MISC: Update migration instruction for breaking change of ns.nFormat (#2247)

This commit is contained in:
catloversg
2025-07-18 04:22:10 +07:00
committed by GitHub
parent b8398ba4c1
commit 3a67db7876
+1 -1
View File
@@ -7,7 +7,7 @@ export const breakingChanges300: VersionBreakingChange = {
brokenAPIs: [{ name: "ns.nFormat" }],
info:
"ns.nFormat() was removed.\n" +
"Use ns.formatNumber, ns.formatRam, ns.formatPercent, or JS built-in objects/functions (e.g., Intl.NumberFormat, " +
"Use ns.format.number, ns.format.ram, ns.format.percent, or JS built-in objects/functions (e.g., Intl.NumberFormat, " +
"Intl.PluralRules, Intl.Locale) instead.",
showWarning: true,
},