Browse Source

fix(api): type definition for `http > Part`, closes #3268

Lucas Nogueira 3 years ago
parent
commit
efa1970db5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tooling/api/src/http.ts

+ 1 - 1
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 {