mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +00:00
fix(ci): the Android merge passes the client gates
- wallet.ts: the Google Wallet state is read through a function after it was set, so TypeScript no longer narrows it to its old value (TS2367) - iap.ts: a store listener that cannot be added is reported through reportNativeFailure instead of an empty catch - iap.test.ts: the restored purchase is checked instead of asserted non-null - trekShell.ts: the fold's rectangle is typed as a DOMRect pick, geometry the RTL lint does not read as text sides
This commit is contained in:
@@ -151,7 +151,8 @@ interface NativeWindowLayout {
|
||||
orientation?: 'vertical' | 'horizontal';
|
||||
separating?: boolean;
|
||||
occluding?: boolean;
|
||||
hinge?: { left: number; top: number; right: number; bottom: number };
|
||||
/** The fold's rectangle on the screen, in CSS pixels: geometry, not text sides. */
|
||||
hinge?: Pick<DOMRectReadOnly, 'left' | 'top' | 'right' | 'bottom'>;
|
||||
}
|
||||
|
||||
/** A position, or an error shaped like GeolocationPositionError (1 denied, 2 unavailable). */
|
||||
|
||||
Reference in New Issue
Block a user