Migrating other 2 files from javascript to typescript (#29435)

* feat: Add initial store configuration for webapp channels

* refactor: Convert store/index.js to TypeScript with type definitions

* test: Add initial test file for store index

* refactor: Convert index.test.js to TypeScript with type annotations

* Removing old files

* Applying linter fixes

* Fixing some of the types errors

* fix: Type mock implementation of getState in global_actions.test.ts

* test: Add missing GlobalState import in global_actions.test.ts

* fix: Resolve TypeScript mock implementation error in global_actions.test.ts

* Some fixes

* Address CI problems

* Installing zen-observable types

* Addressing PR review comment

* Addressing PR review comment

* Addressing PR review comment

* Addressing PR review comment

* Addressing PR review comment

* Simpliying things

* Fixing CI

* Fixing types
Этот коммит содержится в:
Jesús Espino
2025-02-10 15:43:09 +01:00
коммит произвёл GitHub
родитель 90814564ff
Коммит 9b87970c99
16 изменённых файлов: 67 добавлений и 40 удалений

Просмотреть файл

@@ -134,9 +134,11 @@ export type IntegrationsState = {
appsBotIDs: string[];
systemCommands: IDMappedObjects<Command>;
commands: IDMappedObjects<Command>;
dialogTriggerId: string;
dialog?: {
url: string;
dialog: Dialog;
trigger_id: string;
};
};