diff --git a/types/cipher-base/cipher-base-tests.ts b/types/cipher-base/cipher-base-tests.ts index 173a72b7f6..b81238ee98 100644 --- a/types/cipher-base/cipher-base-tests.ts +++ b/types/cipher-base/cipher-base-tests.ts @@ -1,4 +1,4 @@ -import CipherBase from "cipher-base"; +import CipherBase = require("cipher-base"); const buf = new Buffer(1); diff --git a/types/cipher-base/index.d.ts b/types/cipher-base/index.d.ts index 228920ac91..f43ca2cdb9 100644 --- a/types/cipher-base/index.d.ts +++ b/types/cipher-base/index.d.ts @@ -11,4 +11,4 @@ declare abstract class CipherBase { abstract update(value: Buffer, inputEnc?: string, outputEnc?: string): Buffer; } -export default CipherBase; +export = CipherBase;