Skip to content

Commit 59c27fd

Browse files
authored
Merge pull request #3555 from Shopify/2025-10_pos_ui_ext_localization_types
Expose il8n for POS ui extensions
2 parents 9a27667 + 3296915 commit 59c27fd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/ui-extensions': patch
3+
---
4+
5+
Expose Il8n type to POS UI extensions

packages/ui-extensions/src/surfaces/point-of-sale/api/standard/standard-api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ import {ProductSearchApi} from '../product-search-api/product-search-api';
77
import {PrintApi} from '../print-api/print-api';
88
import {StorageApi} from '../storage-api/storage-api';
99
import {PinPadApi} from '../pin-pad-api';
10+
import type {I18n} from '../../../../api';
1011

1112
export type StandardApi<T> = {[key: string]: any} & {
1213
extensionPoint: T;
14+
i18n: I18n;
1315
} & LocaleApi &
1416
ToastApi &
1517
SessionApi &

0 commit comments

Comments
 (0)