Posted 11 July 2018, 9:37 pm EST
Hi
I have exactly the same issue using 5.20173.409.
I used this version with webpack project and managed to exclude Wijmo folder from TypeScript lint and it was ok.
Now I’ve started the new project with Angular-CLI and no options to exclude seems to work. My project fails and can’t compile because of Wijmo issues.
Wijmo stored in project/src/vendor/wijmo-amd-min
Added in package.json as dependencies: “wijmo”: “src/vendor/wijmo-amd-min”
Seems exactly the same as above:
ERROR in src/vendor/wijmo-amd-min/wijmo.d.ts(421,14): error TS2416: Property 'collectionChanged' in type 'ObservableArray' is not assignable to the same propert
y in base type 'INotifyCollectionChanged'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
Types have separate declarations of a private property '_handlers'.
src/vendor/wijmo-amd-min/wijmo.d.ts(475,14): error TS2416: Property 'collectionChanged' in type 'CollectionView' is not assignable to the same property in base
type 'IEditableCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(475,14): error TS2416: Property 'collectionChanged' in type 'CollectionView' is not assignable to the same property in base
type 'IPagedCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(507,14): error TS2416: Property 'currentChanged' in type 'CollectionView' is not assignable to the same property in base typ
e 'IEditableCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(507,14): error TS2416: Property 'currentChanged' in type 'CollectionView' is not assignable to the same property in base typ
e 'IPagedCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(509,14): error TS2416: Property 'currentChanging' in type 'CollectionView' is not assignable to the same property in base ty
pe 'IEditableCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(509,14): error TS2416: Property 'currentChanging' in type 'CollectionView' is not assignable to the same property in base ty
pe 'IPagedCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(547,14): error TS2416: Property 'pageChanged' in type 'CollectionView' is not assignable to the same property in base type '
IPagedCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
src/vendor/wijmo-amd-min/wijmo.d.ts(549,14): error TS2416: Property 'pageChanging' in type 'CollectionView' is not assignable to the same property in base type
'IPagedCollectionView'.
Type 'Event' is not assignable to type 'Event'. Two different types with this name exist, but they are unrelated.
Any clue? Thanks in advance.