Type errors due to default values in type file
rooby opened this issue · comments
There are a few types that supply a default value, which is not allowed in types.
They are:
options?: DownloadOptions & ZipOptions = {}
options: DownloadOptions & ZipOptions = {},
stream = false
They throw this error
TS2371: A parameter initializer is only allowed in a function or constructor implementation.