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
Describe the bug
tsc fails with an empty project.
There are errors in multiple files all concerning translation types
Example:
node_modules/@vendure/core/dist/entity/collection/collection.entity.d.ts:25:5 - error TS2416: Property 'translations' in type 'Collection' is not assignable to the same property in base type 'Translatable'.
Type 'Translation<Collection>[]' is not assignable to type 'Translation<any>[]'.
Type 'Translation<Collection>' is not assignable to type 'Translation<any>'.
Type 'Translation<Collection>' is not assignable to type '{ [x: string]: string; }'.
Property 'id' is incompatible with index signature.
Type 'string | number' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
translations: Array<Translation<Collection>>;
To Reproduce
Steps to reproduce the behavior:
Install vendure project with @vendure/create
Settings: SQLite / TypeScript / Populate with sample data
npm i / yarn
npm run build / yarn build
Environment (please complete the following information):
@vendure/core version: 0.10.1
Nodejs version: v12.13.0
Database (mysql/postgres etc): SQLite
tsc: 6.14.4
The text was updated successfully, but these errors were encountered:
Describe the bug
tsc fails with an empty project.
There are errors in multiple files all concerning translation types
Example:
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: