* Add logout, Translator.translate and Translator.translateArray * Update index.d.ts * Update index.d.ts * Update index.js
@@ -220,6 +220,7 @@ declare module Uppy {
iteratePlugins(callback: (plugin: Plugin) => void): void
removePlugin(instance: Plugin): void
close(): void
+ logout(): void
info(
message: string | { message: string; details: string },
type?: LogLevel,
@@ -53,6 +53,7 @@ declare module Dashboard {
width?: string | number
autoOpenFileEditor?: boolean
disabled?: boolean
+ disableLocalFiles?: boolean
}
@@ -10,6 +10,8 @@ declare module '@uppy/utils/lib/Translator' {
class Translator {
constructor (opts: Translator.Locale | Translator.Locale[])
+ translate (key: string, options: object): string
+ translateArray (key: string, options: object): any[]
export = Translator