MM-47288 refactor: convert channels/channel/ files to ts (#28483)

* refactor: convert channels/channel/ files to ts

- convert js files to typescript
- update types
- fix lint issues

Fixes: 21299

* fix: solve lint issues channels/channel

- fix lint issues
- udpate types

* fix: adjustment to test case MM-T1687

- code reorganization for test case MM-T1687

* fix: update types on function apiCreateCustomAdmin

- update types for apiCreateCustomAdmin on  user.d.ts so that
lint issue is solved
Этот коммит содержится в:
Angel Mendez
2024-10-09 05:22:45 -06:00
коммит произвёл GitHub
родитель 429c41747c
Коммит 23623fc9c9
22 изменённых файлов: 168 добавлений и 103 удалений

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

@@ -42,7 +42,7 @@ declare namespace Cypress {
* // do something with roles
* });
*/
apiGetRolesByNames(names: string[]): Chainable<Role[]>;
apiGetRolesByNames(names: string[]): Chainable<{roles: Role[]}>;
/**
* Patch a role by ID.