Skip to content

Commit

Permalink
fix: remove implied undefined type from InputData
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Aug 22, 2018
1 parent fd74496 commit 0040962
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/IOBuffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ import { decode, encode } from 'utf8';
const defaultByteLength = 1024 * 8;
const charArray: string[] = [];

type InputData =
| undefined
| number
| ArrayBufferLike
| ArrayBufferView
| IOBuffer
| Buffer;
type InputData = number | ArrayBufferLike | ArrayBufferView | IOBuffer | Buffer;

interface IOBufferOptions {
offset?: number;
Expand Down

0 comments on commit 0040962

Please sign in to comment.