refactor: convert some more remote stuff to typescript (#20324)

This commit is contained in:
Jeremy Apthorp 2019-09-30 15:00:22 -07:00 committed by GitHub
parent d3922f95e6
commit b7b0992768
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 208 additions and 107 deletions

View file

@ -39,7 +39,7 @@ export function isBuffer (value: BufferLike) {
return ArrayBuffer.isView(value) || value instanceof ArrayBuffer
}
interface BufferMeta {
export interface BufferMeta {
type: keyof typeof typedArrays;
data: Buffer;
length: number | undefined;