Skip to content

Commit

Permalink
@uppy/image-editor: migrate to TS (#4880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon authored Jan 24, 2024
1 parent 7490a3d commit d18bb0c
Show file tree
Hide file tree
Showing 16 changed files with 522 additions and 292 deletions.
8 changes: 6 additions & 2 deletions packages/@uppy/core/src/BasePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
*/

import Translator from '@uppy/utils/lib/Translator'
import type { I18n, Locale } from '@uppy/utils/lib/Translator'
import type {
I18n,
Locale,
OptionalPluralizeLocale,
} from '@uppy/utils/lib/Translator'
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'
import type { State, Uppy } from './Uppy'

Expand All @@ -38,7 +42,7 @@ export default class BasePlugin<

id: string

defaultLocale: Locale
defaultLocale: OptionalPluralizeLocale

i18n: I18n

Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default } from './Uppy.ts'
export { default as Uppy } from './Uppy.ts'
export { default as Uppy, type UppyEventMap } from './Uppy.ts'
export { default as UIPlugin } from './UIPlugin.ts'
export { default as BasePlugin } from './BasePlugin.ts'
export { debugLogger } from './loggers.ts'
Expand Down
Loading

0 comments on commit d18bb0c

Please sign in to comment.