Skip to content

Commit eedb06f

Browse files
committed
refactor: type consistency
Signed-off-by: Adam Setch <[email protected]>
1 parent 53fe6ac commit eedb06f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/renderer/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ export enum FetchType {
148148
INACTIVITY = 'INACTIVITY',
149149
}
150150

151-
export type RadioGroupItem = {
151+
export interface RadioGroupItem {
152152
label: string;
153153
value: string;
154-
};
154+
}
155155

156156
export interface AccountNotifications {
157157
account: Account;
@@ -199,11 +199,11 @@ export enum Opacity {
199199
HIGH = 'opacity-90',
200200
}
201201

202-
export type PullRequestApprovalIcon = {
202+
export interface PullRequestApprovalIcon {
203203
type: FC<OcticonProps>;
204204
color: IconColor;
205205
description: string;
206-
};
206+
}
207207

208208
export enum Size {
209209
XSMALL = 12,
@@ -213,9 +213,9 @@ export enum Size {
213213
XLARGE = 20,
214214
}
215215

216-
export type Chevron = {
216+
export interface Chevron {
217217
icon: FC<OcticonProps>;
218218
label: string;
219-
};
219+
}
220220

221221
export type FilterStateType = 'open' | 'closed' | 'merged' | 'draft' | 'other';

0 commit comments

Comments
 (0)