Skip to content

Commit

Permalink
Chore: Fix lint issues (#26531)
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal authored Aug 9, 2022
1 parent 2ffd341 commit 9e5c9a2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/app/otr/client/OTR.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meteor } from 'meteor/meteor';
import { ReactiveVar } from 'meteor/reactive-var';

import { IOTR } from '../lib/IOTR';
import type { IOTR } from '../lib/IOTR';
import { Subscriptions } from '../../models/client';
import { OTRRoom } from './OTRRoom';

Expand Down
4 changes: 2 additions & 2 deletions apps/meteor/app/otr/client/OTRRoom.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IMessage } from '@rocket.chat/core-typings';
import type { IMessage } from '@rocket.chat/core-typings';
import { EJSON } from 'meteor/ejson';
import { Meteor } from 'meteor/meteor';
import { Random } from 'meteor/random';
Expand All @@ -15,7 +15,7 @@ import { goToRoomById } from '../../../client/lib/utils/goToRoomById';
import { Notifications } from '../../notifications/client';
import { APIClient } from '../../utils/client';
import { otrSystemMessages } from '../lib/constants';
import { IOnUserStreamData, IOTRAlgorithm, IOTRDecrypt, IOTRRoom } from '../lib/IOTR';
import type { IOnUserStreamData, IOTRAlgorithm, IOTRDecrypt, IOTRRoom } from '../lib/IOTR';
import {
decryptAES,
deriveBits,
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/app/otr/lib/IOTR.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { IMessage, IRoom, IUser } from '@rocket.chat/core-typings';

import { OtrRoomState } from './OtrRoomState';
import type { OtrRoomState } from './OtrRoomState';
import type { OTRRoom } from '../client/OTRRoom';

export interface IOnUserStreamData {
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/app/otr/lib/functions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IOTRAlgorithm } from './IOTR';
import type { IOTRAlgorithm } from './IOTR';

const { subtle } = global.crypto;

Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/app/otr/server/methods/updateOTRAck.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IMessage } from '@rocket.chat/core-typings';
import type { IMessage } from '@rocket.chat/core-typings';
import { Meteor } from 'meteor/meteor';

import { Messages } from '../../../models/server';
Expand Down

0 comments on commit 9e5c9a2

Please sign in to comment.