Преглед изворни кода

@uppy/xhr-upload: export `Headers` type (#4549)

Fixes: https://github.com/transloadit/uppy/issues/4547
Masum ULU пре 1 година
родитељ
комит
8afe5338bd
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      packages/@uppy/xhr-upload/types/index.d.ts

+ 3 - 3
packages/@uppy/xhr-upload/types/index.d.ts

@@ -1,9 +1,9 @@
 import type { PluginOptions, BasePlugin, UppyFile } from '@uppy/core'
 import XHRUploadLocale from './generatedLocale'
 
-  type Headers = {
-    [name: string]: string | number
-  }
+export type Headers = {
+   [name: string]: string | number
+}
 
 export interface XHRUploadOptions extends PluginOptions {
     limit?: number