Docs (4.0.0)
class LazyString method

invalidateCache

Invalidates all string values cached by LazyString.cache().

static

static invalidateCache(): void

Notes

  • This method is called automatically when the application I18n provider is changed (see app.i18n), so that all (localized) strings are re-evaluated when toString() is called again on the same LazyString instance

Related

  • class LazyStringAn object that encapsulates a string, evaluated only when needed.