This fixe TypeScript error "'ByteStream' only refers to a type, but is being used as a value here. ts(2693)" when constructing a ByteStream in consuming code like:
import { ByteStream, littleEndianByteArrayParser } from "dicom-parser";
const byteStream = new ByteStream(
littleEndianByteArrayParser,
new Uint8Array(0),
0
);
Fixes #187
This fixe TypeScript error "'ByteStream' only refers to a type, but is being used as a value here. ts(2693)" when constructing a ByteStream in consuming code like:
Personally tested again ts
4.7.3
.