mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
fix import properly
This commit is contained in:
parent
18a4829ea6
commit
8545b2b9c5
5
backend/@types/random-bigint/index.d.ts
vendored
5
backend/@types/random-bigint/index.d.ts
vendored
@ -1,6 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
declare module 'random-bigint' {
|
||||
export function random(bits: number, cb?: (err: Error, num: BigInt) => void): BigInt
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default random
|
||||
function random(bits: number, cb?: (err: Error, num: BigInt) => void): BigInt
|
||||
export = random
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ import { communityDbUser } from '@/util/communityUser'
|
||||
import { hasElopageBuys } from '@/util/hasElopageBuys'
|
||||
import { getTimeDurationObject, printTimeDuration } from '@/util/time'
|
||||
|
||||
import { random } from 'random-bigint'
|
||||
import random from 'random-bigint'
|
||||
|
||||
import { FULL_CREATION_AVAILABLE } from './const/const'
|
||||
import { getUserCreations } from './util/creations'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user