mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[web] Add some types for existing capabilities and PermissionController (#27048)
* Add types on existing Capabilities code * Add ts-expect-error comments * Minor code changes to satisfy types * Remove ts-check because of unrelated errors * Remove some ts-expect-error comments * Revert "Remove some ts-expect-error comments" This reverts commit 76cc0a073710eecf4f8b88f8579405838607f4d5. * Remove the `@ts-check`s for now It looks like typescript is somewhat flaky. We can re-enable this later * Remove the `@ts-expect-error`s * Remove return type GitOrigin-RevId: 57bbd370654592c0662047e72e61f91bf38e0949
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export type Capability =
|
||||
| 'add-secondary-email'
|
||||
| 'change-password'
|
||||
| 'chat'
|
||||
| 'delete-own-account'
|
||||
| 'dropbox'
|
||||
| 'endorse-email'
|
||||
| 'join-subscription'
|
||||
| 'leave-group-subscription'
|
||||
| 'start-subscription'
|
||||
| 'use-ai'
|
||||
Reference in New Issue
Block a user