Skip to content

Commit

Permalink
Fix the type definition of TypedArray. We can not use line breaks in it.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Aug 5, 2020
1 parent 63e33a5 commit 9a81ae4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/display/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,11 @@ function setPDFNetworkStreamFactory(pdfNetworkStreamFactory) {
createPDFNetworkStream = pdfNetworkStreamFactory;
}

/* eslint-disable max-len */
/**
* @typedef {
* Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array |
* Int32Array | Uint32Array | Float32Array | Float64Array
* } TypedArray
* @typedef {Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array} TypedArray
*/
/* eslint-enable max-len */

/**
* Document initialization / loading parameters object.
Expand Down

0 comments on commit 9a81ae4

Please sign in to comment.