Skip to content

Commit

Permalink
kids-first#3346 remove useless nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
evans-g-crsj committed Jul 14, 2021
1 parent 9afe475 commit f0eb43a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/store/fenceConnectionsTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ import { ThunkDispatch } from 'redux-thunk';
import { FenceName } from './fenceTypes';
import { RootState } from './rootState';

type Nullable<T> = T | undefined | null;

export type Projects = { [index: string]: any };

export type Connection = {
authz: { [index: string]: any };
azp: Nullable<string>;
azp?: string;
certificates_uploaded: any[];
display_name: Nullable<string>;
email: Nullable<string>;
display_name?: string;
email?: string;
groups: string[];
is_admin: boolean;
message: string;
name: string;
phone_number: Nullable<string>;
preferred_username: Nullable<string>;
primary_google_service_account: Nullable<string>;
phone_number?: string;
preferred_username?: string;
primary_google_service_account?: string;
project_access: { [index: string]: any };
projects: Projects;
resources: any[];
Expand Down

0 comments on commit f0eb43a

Please sign in to comment.