From 2524f83079d6f06175e527d46eccbff59c1c3d34 Mon Sep 17 00:00:00 2001 From: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Tue, 26 May 2026 06:45:19 -0700 Subject: [PATCH] Fix type errors and disable typescript incremental mode --- .github/workflows/ci.yml | 14 ------------- ts/components/Preferences.dom.tsx | 12 ++++++++--- ts/types/Storage.d.ts | 8 ++++---- ts/window.d.ts | 33 ++++++++++++++----------------- tsconfig.json | 2 +- 5 files changed, 29 insertions(+), 40 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cdfc764d..fccd2e183 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,13 +42,6 @@ jobs: # path: ${{ env.SCCACHE_PATH }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} - - name: Restore cached tsconfig.tsbuildinfo - uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 - id: cache-lint - with: - path: tsconfig.tsbuildinfo - key: lint-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**', 'tsconfig.json') }} - - name: Install Desktop node_modules run: pnpm install env: @@ -84,13 +77,6 @@ jobs: - run: git diff --exit-code - - name: Update cached tsconfig.tsbuildinfo - uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 - if: github.ref == 'refs/heads/main' - with: - path: tsconfig.tsbuildinfo - key: ${{ steps.cache-lint.outputs.cache-primary-key }} - macos: name: MacOS needs: lint diff --git a/ts/components/Preferences.dom.tsx b/ts/components/Preferences.dom.tsx index 7fd5fed7d..0aa531e15 100644 --- a/ts/components/Preferences.dom.tsx +++ b/ts/components/Preferences.dom.tsx @@ -1108,7 +1108,9 @@ export function Preferences({ { + onNotificationContentChange(value as NotificationSettingType); + }} options={[ { text: i18n('icu:nameAndMessage'), @@ -2158,7 +2162,9 @@ export function Preferences({ )} >