diff options
author | crowlKats <crowlkats@gmail.com> | 2020-03-13 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 10:22:22 +0100 |
commit | e435c2be158ce8657dbff0664b6db222fe4e586c (patch) | |
tree | b0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/web/streams/shared-internals.ts | |
parent | 3ac642c183981a366e1db565c16b81f864b07ee4 (diff) |
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/js/web/streams/shared-internals.ts')
-rw-r--r-- | cli/js/web/streams/shared-internals.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cli/js/web/streams/shared-internals.ts b/cli/js/web/streams/shared-internals.ts index 93155fecc..3d802b083 100644 --- a/cli/js/web/streams/shared-internals.ts +++ b/cli/js/web/streams/shared-internals.ts @@ -1,13 +1,6 @@ // Forked from https://github.com/stardazed/sd-streams/tree/8928cf04b035fd02fb1340b7eb541c76be37e546 // Copyright (c) 2018-Present by Arthur Langereis - @zenmumbler MIT -/** - * streams/shared-internals - common types and methods for streams - * Part of Stardazed - * (c) 2018-Present by Arthur Langereis - @zenmumbler - * https://github.com/stardazed/sd-streams - */ - /* eslint-disable @typescript-eslint/no-explicit-any */ // TODO don't disable this warning @@ -20,7 +13,6 @@ export const storedError_ = Symbol("storedError_"); // --------- -/** An error reason / result can be anything */ export type ErrorResult = any; // --------- @@ -122,11 +114,6 @@ function supportsSharedArrayBuffer(): boolean { return sharedArrayBufferSupported_; } -/** - * Implement a method of value cloning that is reasonably close to performing `StructuredSerialize(StructuredDeserialize(value))` - * from the HTML standard. Used by the internal `readableStreamTee` method to clone values for connected implementations. - * @see https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal - */ export function cloneValue(value: any): any { const valueType = typeof value; switch (valueType) { |