@baukit/localization-core 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baukit/localization-core",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "description": "Dependency-free locale resolution, catalog key comparison, stable-code localization, and explicit-locale Intl formatter factories.",
5
5
  "license": "MIT",
6
6
  "author": "Patrick Koss",
@@ -38,19 +38,19 @@ describe('typed catalog segments', () => {
38
38
  };
39
39
  expect(valid.title).toBe('Konto');
40
40
 
41
- // @ts-expect-error The reference locale requires devices.
41
+ // @ts-expect-error -- The reference locale requires devices.
42
42
  const missingKey: LocalizedCatalogSegment<typeof english> = {
43
43
  title: 'Konto',
44
44
  };
45
45
  const wrongShape: LocalizedCatalogSegment<typeof english> = {
46
46
  title: 'Konto',
47
- // @ts-expect-error A plural reference message requires one and other.
47
+ // @ts-expect-error -- A plural reference message requires one and other.
48
48
  devices: 'Geräte',
49
49
  };
50
50
  const extraKey: LocalizedCatalogSegment<typeof english> = {
51
51
  title: 'Konto',
52
52
  devices: { one: 'Gerät', other: 'Geräte' },
53
- // @ts-expect-error Translations cannot add keys absent from the reference.
53
+ // @ts-expect-error -- Translations cannot add keys absent from the reference.
54
54
  retry: 'Erneut versuchen',
55
55
  };
56
56
  expect(missingKey.title).toBe('Konto');