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

8 lines
229 B
TypeScript

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