Skip to content

Commit

Permalink
🤖 🎨 Autoformat
Browse files Browse the repository at this point in the history
Signed-off-by: sivanov <[email protected]>
  • Loading branch information
ivanovSPvirtru committed Jan 17, 2023
1 parent c5edcc9 commit 7c87dc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/index.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

if (globalThis) {
globalThis.crypto ??= crypto as unknown as Crypto;
// @ts-expect-error transform type incompatible
// @ts-expect-error transform type incompatible
globalThis.ReadableStream ??= ReadableStream;
}

Expand Down
4 changes: 2 additions & 2 deletions lib/tdf3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import { NodeTdfStream } from './src/client/NodeTdfStream.js';

if (globalThis) {
globalThis.crypto ??= crypto as unknown as Crypto;
//@ts-expect-error assignment to any type
//@ts-expect-error assignment to any type
globalThis?.CryptoKey ??= crypto.CryptoKey;
// @ts-expect-error transform type incompatible
// @ts-expect-error transform type incompatible
globalThis?.ReadableStream ??= ReadableStream;
}

Expand Down

0 comments on commit 7c87dc2

Please sign in to comment.