소스 검색

add missing exports (#5009)

Antoine du Hamel 1 년 전
부모
커밋
730459d672
3개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/@uppy/drag-drop/src/DragDrop.tsx
  2. 1 0
      packages/@uppy/drag-drop/src/index.ts
  3. 2 0
      packages/@uppy/progress-bar/src/index.ts

+ 1 - 1
packages/@uppy/drag-drop/src/DragDrop.tsx

@@ -13,7 +13,7 @@ import { h, type ComponentChild } from 'preact'
 import packageJson from '../package.json'
 import locale from './locale.ts'
 
-interface DragDropOptions extends UIPluginOptions {
+export interface DragDropOptions extends UIPluginOptions {
   inputName?: string
   allowMultipleFiles?: boolean
   width?: string | number

+ 1 - 0
packages/@uppy/drag-drop/src/index.ts

@@ -1 +1,2 @@
 export { default } from './DragDrop.tsx'
+export type { DragDropOptions } from './DragDrop.tsx'

+ 2 - 0
packages/@uppy/progress-bar/src/index.ts

@@ -1 +1,3 @@
 export { default } from './ProgressBar.tsx'
+
+export type { ProgressBarOptions } from './ProgressBar.tsx'