8 lines
235 B
TypeScript
8 lines
235 B
TypeScript
// Copyright 2017-2022 @polkadot/x-ws authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { exposeGlobal } from '@polkadot/x-global';
|
|
import { WebSocket } from '@polkadot/x-ws';
|
|
|
|
exposeGlobal('WebSocket', WebSocket);
|