From efa1970db5df526f5aff7d28a15fdb6d1f717e36 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 23 Jan 2022 16:51:35 -0300 Subject: [PATCH] fix(api): type definition for `http > Part`, closes #3268 --- tooling/api/src/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/api/src/http.ts b/tooling/api/src/http.ts index 73dc124fd..c2ba6ae49 100644 --- a/tooling/api/src/http.ts +++ b/tooling/api/src/http.ts @@ -37,7 +37,7 @@ enum ResponseType { Binary = 3 } -type Part = 'string' | number[] +type Part = string | number[] /** The body object to be used on POST and PUT requests. */ class Body {