Skip to main content
Version: Current (v7.0.0-beta.3)

TranslatableString.InvalidObjectField is removed

Detect​

  • In a custom translateString or a translation table, a reference to TranslatableString.InvalidObjectField.
  • The type checker reports Property 'InvalidObjectField' does not exist on type followed by the type of TranslatableString.

Change​

An incomplete ui:order no longer renders an error, so no string names it. Remove the case:

switch (key) {
- case TranslatableString.InvalidObjectField:
- return translated.invalidObjectField;
default:
return englishStringTranslator(key, params);
}

Verify​

  • The custom translateString compiles.

Also read: