Fix: Better type checking

This commit is contained in:
Daniel Hougaard
2024-03-17 18:49:29 +01:00
parent 2bd9914373
commit c3a56f469a
7 changed files with 30 additions and 25 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ export type TOrgPermission = {
actorId: string;
orgId: string;
actorAuthMethod: ActorAuthMethod;
actorOrgId?: string;
actorOrgId: string | undefined;
};
export type TProjectPermission = {
@@ -13,7 +13,7 @@ export type TProjectPermission = {
actorId: string;
projectId: string;
actorAuthMethod: AuthMethod | null;
actorOrgId?: string;
actorOrgId: string | undefined;
};
export type RequiredKeys<T> = {