Skip to content

Commit

Permalink
Fixed type of State.info to match reality being an array of info obje…
Browse files Browse the repository at this point in the history
…cts (#4321)
  • Loading branch information
marc-mabe committed Feb 27, 2023
1 parent 7bb3050 commit 5056a45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@uppy/core/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ export interface State<
| UploadedUppyFile<TMeta, TBody>
| FailedUppyFile<TMeta, TBody>
}
info?: {
info?: Array<{
isHidden: boolean
type: string
type: LogLevel
message: string
details: string
}
details: string | null
}>
plugins?: IndexedObject<any>
totalProgress: number
}
Expand Down

0 comments on commit 5056a45

Please sign in to comment.