diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-12 21:00:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-12 21:00:54 +0100 |
commit | 24650b1781820b9eca64d6b380b2f0b3ed3650f1 (patch) | |
tree | 7d6d07710f97390cd2cbab08a62119bf6f2f9076 /src | |
parent | 74433c3e05734aa1194049fcbcaa92c70ce61c74 (diff) |
organize imports
Diffstat (limited to 'src')
-rw-r--r-- | src/types/walletTypes.ts | 8 | ||||
-rw-r--r-- | src/webex/wxBackend.ts | 22 |
2 files changed, 10 insertions, 20 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts index a9bf2061f..903852b1b 100644 --- a/src/types/walletTypes.ts +++ b/src/types/walletTypes.ts @@ -25,20 +25,16 @@ /** * Imports. */ +import { AmountJson } from "../util/amounts"; import { Checkable } from "../util/checkable"; import * as LibtoolVersion from "../util/libtoolVersion"; - -import { AmountJson } from "../util/amounts"; - import { CoinRecord, DenominationRecord, ExchangeRecord, ExchangeWireInfo, - WithdrawalSource, - RetryInfo, } from "./dbTypes"; -import { CoinPaySig, ContractTerms, PayReq } from "./talerTypes"; +import { CoinPaySig, ContractTerms } from "./talerTypes"; /** * Response for the create reserve request to the wallet. diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index f3f4d80eb..547ec35e4 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -23,26 +23,20 @@ /** * Imports. */ -import { BrowserHttpLib } from "../util/http"; +import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi"; +import { deleteDatabase, exportDatabase, importDatabase, openDatabase } from "../db"; +import { WALLET_DB_VERSION } from "../types/dbTypes"; +import { ConfirmReserveRequest, CreateReserveRequest, ReturnCoinsRequest, WalletDiagnostics } from "../types/walletTypes"; import { AmountJson } from "../util/amounts"; -import { - ConfirmReserveRequest, - CreateReserveRequest, - ReturnCoinsRequest, - WalletDiagnostics, -} from "../types/walletTypes"; +import { BrowserHttpLib } from "../util/http"; +import { OpenedPromise, openPromise } from "../util/promiseUtils"; +import { classifyTalerUri, TalerUriType } from "../util/taleruri"; import { Wallet } from "../wallet"; -import { isFirefox } from "./compat"; -import { WALLET_DB_VERSION } from "../types/dbTypes"; -import { openDatabase, exportDatabase, importDatabase, deleteDatabase } from "../db"; import { ChromeBadge } from "./chromeBadge"; +import { isFirefox } from "./compat"; import { MessageType } from "./messages"; import * as wxApi from "./wxApi"; -import Port = chrome.runtime.Port; import MessageSender = chrome.runtime.MessageSender; -import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi"; -import { OpenedPromise, openPromise } from "../util/promiseUtils"; -import { classifyTalerUri, TalerUriType } from "../util/taleruri"; const NeedsWallet = Symbol("NeedsWallet"); |