Преглед на файлове

@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 преди 2 години
родител
ревизия
72f579e216
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      packages/@uppy/core/types/index.d.ts

+ 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>
 
-  readonly state: State
-
   setFileState(fileID: string, state: Record<string, unknown>): void
 
   resetProgress(): void