Harden settings types (#33311)

* Harden settings types

* Fix types

* Update apps/web/src/emojipicker/recent.ts

Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>

* Fix suggestion

---------

Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>
This commit is contained in:
Michael Telatynski
2026-04-29 09:46:09 +01:00
committed by GitHub
parent 4bee845010
commit 5ff302539e
26 changed files with 104 additions and 97 deletions
@@ -28,7 +28,7 @@ describe("ReleaseAnnouncementStore", () => {
settings = {
releaseAnnouncementData: {},
};
const watchCallbacks: Array<CallbackFn> = [];
const watchCallbacks: Array<CallbackFn<any>> = [];
mocked(SettingsStore.getValue).mockImplementation((setting: string) => {
return settings[setting];