Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing exports #5014

Merged
merged 2 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Loading