mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +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 */
|
/* eslint-disable @typescript-eslint/ban-types */
|
||||||
declare module 'random-bigint' {
|
declare module 'random-bigint' {
|
||||||
export function random(bits: number, cb?: (err: Error, num: BigInt) => void): BigInt
|
function random(bits: number, cb?: (err: Error, num: BigInt) => void): BigInt
|
||||||
// eslint-disable-next-line import/no-default-export
|
export = random
|
||||||
export default random
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -70,7 +70,7 @@ import { communityDbUser } from '@/util/communityUser'
|
|||||||
import { hasElopageBuys } from '@/util/hasElopageBuys'
|
import { hasElopageBuys } from '@/util/hasElopageBuys'
|
||||||
import { getTimeDurationObject, printTimeDuration } from '@/util/time'
|
import { getTimeDurationObject, printTimeDuration } from '@/util/time'
|
||||||
|
|
||||||
import { random } from 'random-bigint'
|
import random from 'random-bigint'
|
||||||
|
|
||||||
import { FULL_CREATION_AVAILABLE } from './const/const'
|
import { FULL_CREATION_AVAILABLE } from './const/const'
|
||||||
import { getUserCreations } from './util/creations'
|
import { getUserCreations } from './util/creations'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user