Skip to content

Commit

Permalink
Fix a few import issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Feb 23, 2022
1 parent 7f0e6b7 commit 8d64247
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/permissions/PermissionController.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-enable @typescript-eslint/no-unused-vars */
import deepFreeze from 'deep-freeze-strict';
import { Mutable } from '@metamask/types';
import { castDraft, Draft, Patch } from 'immer';
import { nanoid } from 'nanoid';
import {
Expand All @@ -15,7 +16,6 @@ import {
isNonEmptyArray,
isPlainObject,
isValidJson,
Mutable,
NonEmptyArray,
} from '../util';
import {
Expand Down
10 changes: 4 additions & 6 deletions src/permissions/permission-middleware.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import type {
Json,
JsonRpcRequest,
JsonRpcMiddleware,
PendingJsonRpcResponse,
} from '@metamask/types';
import type { Json } from '@metamask/types';
import {
JsonRpcMiddleware,
AsyncJsonRpcEngineNextCallback,
createAsyncMiddleware,
PendingJsonRpcResponse,
JsonRpcRequest,
} from 'json-rpc-engine';
// @ts-expect-error This is used in a docstring
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down

0 comments on commit 8d64247

Please sign in to comment.