Files
common/packages/x-bigint/src/shim.ts
T
2023-01-01 10:21:43 +02:00

8 lines
234 B
TypeScript

// Copyright 2017-2023 @polkadot/x-bigint authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BigInt } from '@polkadot/x-bigint';
import { exposeGlobal } from '@polkadot/x-global';
exposeGlobal('BigInt', BigInt);