You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand this is a bug report and questions should be posted in the Community Forum
I searched issues and couldn’t find anything (or linked relevant results below)
Link to runnable example
No response
Steps to reproduce
When using Uppy with latest Typescript 4.8.2 I started to get some compilation errors in Uppy type definition files which were not happening with Typescript 4.7.4. Issue happens with both Uppy 2.13.4 and 3.0.0.
In package.json
"typescript": "^4.8.2",
"uppy": "^2.13.4",
or
"typescript": "^4.8.2",
"uppy": "^3.0.0",
Expected behavior
Successful compilation.
Actual behavior
Uppy 2.13.4
node_modules/@uppy/core/types/index.d.ts(25,12): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(39,66): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(43,64): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(207,56): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(208,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(209,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(212,65): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(213,61): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(214,60): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(215,67): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(217,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(222,64): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(356,57): error TS2344: Type 'TOptions' does not satisfy the constraint 'PluginOptions'.
node_modules/@uppy/dashboard/types/index.d.ts(87,69): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/dashboard/types/index.d.ts(88,72): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/thumbnail-generator/types/index.d.ts(24,18): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
TypeScript ended with exit code 2
Uppy 3.0.0
node_modules/@uppy/core/types/index.d.ts(25,12): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(39,66): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(43,64): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(207,56): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(208,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(209,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(212,65): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(213,61): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(214,60): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(215,67): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(217,58): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(220,64): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/core/types/index.d.ts(352,57): error TS2344: Type 'TOptions' does not satisfy the constraint 'PluginOptions'.
node_modules/@uppy/dashboard/types/index.d.ts(89,70): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/dashboard/types/index.d.ts(90,73): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
node_modules/@uppy/thumbnail-generator/types/index.d.ts(24,18): error TS2344: Type 'TMeta' does not satisfy the constraint 'IndexedObject<any>'.
TypeScript ended with exit code 2
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
No response
Steps to reproduce
When using Uppy with latest Typescript 4.8.2 I started to get some compilation errors in Uppy type definition files which were not happening with Typescript 4.7.4. Issue happens with both Uppy 2.13.4 and 3.0.0.
In package.json
or
Expected behavior
Successful compilation.
Actual behavior
Uppy 2.13.4
Uppy 3.0.0
The text was updated successfully, but these errors were encountered: