Merged
requested to merge github/fork/bodograumann/typescript-refactor-file-type into typescript-refactor-master
Created by: bodograumann
I changed the HttpFile
type to Blob & { name: string }
for browser platform and to Buffer & { name: string }
for node platform. This is imho more convenient.
The upload tests now work for both default and jquery petstore samples.
There is also a bit of code cleanup included.
Cf. #802 (closed) CC @TiFu