From 65d9286203cf239f68c6015818e82e8521e600a1 Mon Sep 17 00:00:00 2001 From: Nick Stott Date: Mon, 28 Oct 2019 12:41:36 -0400 Subject: Re-enable basic stream support for fetch bodies (#3192) * Add sd-streams from https://github.com/stardazed/sd-streams/blob/master/packages/streams/src/ * change the interfaces in dom_types to match what sd-streams expects --- cli/js/errors.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/js/errors.ts') diff --git a/cli/js/errors.ts b/cli/js/errors.ts index 8cd7a76be..286a004e4 100644 --- a/cli/js/errors.ts +++ b/cli/js/errors.ts @@ -76,5 +76,8 @@ export enum ErrorKind { TooManyRedirects = 48, Diagnostic = 49, JSError = 50, - TypeError = 51 + TypeError = 51, + + /** TODO this is a DomException type, and should be moved out of here when possible */ + DataCloneError = 52 } -- cgit v1.2.3