We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e99c2f commit cdc62d3Copy full SHA for cdc62d3
src/Umbraco.Web.UI.Client/src/packages/user/current-user/current-user.context.ts
@@ -196,9 +196,9 @@ export class UmbCurrentUserContext extends UmbContextBase {
196
197
/**
198
* Get the permissions for the current user
199
- * @returns {Array<DocumentPermissionPresentationModel | UnknownTypePermissionPresentationModel> | undefined} The permissions for the current user
+ * @returns {unknown[] | undefined} The permissions for the current user
200
*/
201
- getPermissions() {
+ getPermissions(): unknown[] | undefined {
202
return this.#currentUser.getValue()?.permissions;
203
}
204
0 commit comments