Browse Source

@uppy/core: remove `state` getter from types (#4477)

The `state` getter was removed a while back, and we forgot to fix the types.
Antoine du Hamel 1 năm trước cách đây
mục cha
commit
72f579e216

+ 0 - 2
packages/@uppy/core/types/index.d.ts

@@ -284,8 +284,6 @@ export class Uppy {
 
 
   getState<TMeta extends IndexedObject<any> = Record<string, unknown>>(): State<TMeta>
   getState<TMeta extends IndexedObject<any> = Record<string, unknown>>(): State<TMeta>
 
 
-  readonly state: State
-
   setFileState(fileID: string, state: Record<string, unknown>): void
   setFileState(fileID: string, state: Record<string, unknown>): void
 
 
   resetProgress(): void
   resetProgress(): void