Skip to content

Commit

Permalink
add missing exports (#5014)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Mar 22, 2024
1 parent 4bfb776 commit 11d8434
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/@uppy/audio/src/Audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import locale from './locale.ts'
// @ts-ignore We don't want TS to generate types for the package.json
import packageJson from '../package.json'

interface AudioOptions extends UIPluginOptions {
export interface AudioOptions extends UIPluginOptions {
showAudioSourceDropdown?: boolean
}
interface AudioState {
Expand Down
1 change: 1 addition & 0 deletions packages/@uppy/audio/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default } from './Audio.tsx'
export type { AudioOptions } from './Audio.tsx'
2 changes: 1 addition & 1 deletion packages/@uppy/dashboard/src/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ interface DashboardState<M extends Meta, B extends Body> {
[key: string]: unknown
}

interface DashboardOptions<M extends Meta, B extends Body>
export interface DashboardOptions<M extends Meta, B extends Body>
extends UIPluginOptions {
animateOpenClose?: boolean
browserBackButtonClose?: boolean
Expand Down
1 change: 1 addition & 0 deletions packages/@uppy/dashboard/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default } from './Dashboard.tsx'
export type { DashboardOptions } from './Dashboard.tsx'
2 changes: 1 addition & 1 deletion packages/@uppy/drop-target/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import toArray from '@uppy/utils/lib/toArray'
// @ts-ignore We don't want TS to generate types for the package.json
import packageJson from '../package.json'

interface DropTargetOptions extends PluginOpts {
export interface DropTargetOptions extends PluginOpts {
target?: HTMLElement | string | null
onDrop?: (event: DragEvent) => void
onDragOver?: (event: DragEvent) => void
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/webcam/src/Webcam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function isModeAvailable<T>(modes: T[], mode: unknown): mode is T {
return modes.includes(mode as T)
}

interface WebcamOptions<M extends Meta, B extends Body>
export interface WebcamOptions<M extends Meta, B extends Body>
extends UIPluginOptions {
target?: PluginTarget<M, B>
onBeforeSnapshot?: () => Promise<void>
Expand Down
1 change: 1 addition & 0 deletions packages/@uppy/webcam/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default } from './Webcam.tsx'
export type { WebcamOptions } from './Webcam.tsx'

0 comments on commit 11d8434

Please sign in to comment.