Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin Jian committed May 20, 2020
1 parent 696d5d1 commit 6487153
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
3 changes: 0 additions & 3 deletions sdk/storage/storage-blob/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,3 @@ export {
BlobBeginCopyFromUrlPollState,
CopyPollerBlobClient
} from "./pollers/BlobStartCopyFromUrlPoller";

import { AvroReadable } from '../../storage-internal-avro/src'
export { AvroReadable }
8 changes: 4 additions & 4 deletions sdk/storage/storage-internal-avro/src/AvroReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export class AvroReader {

private readonly _headerStream: AvroReadable;

private _syncMarker: Uint8Array | undefined;
private _syncMarker?: Uint8Array;

private _metadata: Record<string,string> | undefined;
private _metadata?: Record<string, string>;

private _itemType: AvroType | undefined;
private _itemType?: AvroType;

private _itemsRemainingInBlock: number | undefined;
private _itemsRemainingInBlock?: number;

private _blockOffset: number;
public get blockOffset(): number {
Expand Down
7 changes: 3 additions & 4 deletions sdk/storage/storage-internal-avro/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { AvroReader } from "./AvroReader";
import { AvroReadable } from "./AvroReadable";
import { AvroReadableFromStream } from "./AvroReadableFromStream";
export { AvroReader, AvroReadable, AvroReadableFromStream };
export { AvroReader } from "./AvroReader";
export { AvroReadable } from "./AvroReadable";
export { AvroReadableFromStream } from "./AvroReadableFromStream";

0 comments on commit 6487153

Please sign in to comment.