diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml index 0d31113a0e0..2998d1dcce7 100644 --- a/.github/workflows/mobile.yml +++ b/.github/workflows/mobile.yml @@ -51,7 +51,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Typecheck - run: npx tsc --noEmit + run: pnpm typecheck - name: Test run: pnpm test diff --git a/mobile/package.json b/mobile/package.json index 324ec971762..41ddf3f2f3b 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -9,6 +9,7 @@ "ios": "expo run:ios", "postinstall": "node scripts/build-terminal-webview-engine.mjs", "test": "vitest run", + "typecheck": "tsc --noEmit", "lint": "oxlint", "format": "oxfmt --write .", "format:check": "oxfmt --check .", diff --git a/mobile/src/transport/mobile-relay-pairing-journal.ts b/mobile/src/transport/mobile-relay-pairing-journal.ts index 3359aaa645f..c78fc0e5126 100644 --- a/mobile/src/transport/mobile-relay-pairing-journal.ts +++ b/mobile/src/transport/mobile-relay-pairing-journal.ts @@ -1,7 +1,8 @@ import * as ExpoCrypto from 'expo-crypto' import { sha256 } from '@noble/hashes/sha256' import { z } from 'zod' -import type { PairingOffer, PairingRelay } from './types' +import type { PairingRelay } from '../../../src/shared/mobile-relay-pairing-offer' +import type { PairingOffer } from './types' const Base64Url32ByteSchema = z.string().regex(/^[A-Za-z0-9_-]{43}$/)