diff --git a/src/crypto/recoverykey.ts b/src/crypto/recoverykey.ts index 0ffef80b7..b64c2107c 100644 --- a/src/crypto/recoverykey.ts +++ b/src/crypto/recoverykey.ts @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import * as bs58 from 'bs58'; +import bs58 from 'bs58'; // picked arbitrarily but to try & avoid clashing with any bitcoin ones // (which are also base58 encoded, but bitcoin's involve a lot more hashing) diff --git a/src/index.ts b/src/index.ts index c651438fb..faab0fed0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import * as request from "request"; +import request from "request"; import * as matrixcs from "./matrix"; import * as utils from "./utils"; diff --git a/src/utils.ts b/src/utils.ts index 4885fb948..777531286 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -23,7 +23,7 @@ limitations under the License. import unhomoglyph from "unhomoglyph"; import promiseRetry from "p-retry"; -import type * as NodeCrypto from "crypto"; +import type NodeCrypto from "crypto"; import { MatrixEvent } from "."; import { M_TIMESTAMP } from "./@types/location";