Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Apr 19, 2022
1 parent 5c2d377 commit 7023a0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/app/PersistableValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ type PersistableValues_3_1_0 = Omit<
'currentServerUrl' | 'currentView'
> & {
currentView?:
| Exclude<PersistableValues_0_0_0['currentView'], null>
| { url: string }
| 'downloads'
| 'settings';
| Exclude<PersistableValues_0_0_0['currentView'], null>
| { url: string }
| 'downloads'
| 'settings';
downloads?: Record<Download['itemId'], Download>;
};
type PersistableValues_3_5_0 = PersistableValues_3_1_0 & {
Expand Down
3 changes: 2 additions & 1 deletion src/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ const start = (): void => {

window.Notification = class RocketChatDesktopNotification
extends EventTarget
implements Notification {
implements Notification
{
static readonly permission: NotificationPermission = 'granted';

static readonly maxActions: number =
Expand Down
2 changes: 1 addition & 1 deletion src/ui/main/menuBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const selectWindowDeps = createStructuredSelector<
RootState,
Pick<
RootState,
'servers'
| 'servers'
| 'currentView'
| 'isShowWindowOnUnreadChangedEnabled'
| 'isAddNewServersEnabled'
Expand Down

0 comments on commit 7023a0d

Please sign in to comment.