try with default export

This commit is contained in:
Ulf Gebhardt 2023-06-06 13:02:21 +02:00
parent 68f77e4d1f
commit 18a4829ea6
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/ban-types */
declare module 'random-bigint' {
export function random(bits: number, cb?: (err: Error, num: BigInt) => void): BigInt
export = random
// eslint-disable-next-line import/no-default-export
export default random
}