-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Greetings,
It looks like it's time to update @microsoft packages for 1.6.0 ("@microsoft/sp-webpart-base": "1.6.0") compatibility... IWebPartContext has changed.
Using PropertyFieldPicturePicker when i specify context i.e.:
PropertyFieldPicturePicker('id', {
...props,
context: this.context
})I get the following error when serving.:
error TS2345: Argument of type '{ label: string; initialValue: string; readOnly: true; previewImage: true; allowedFileExtensions:...' is not assignable to parameter of type
'IPropertyFieldPicturePickerProps'.
[15:38:10] [tsc] Types of property 'context' are incompatible.
[15:38:10] [tsc] Type 'WebPartContext' is not assignable to type 'IWebPartContext'.[15:38:10] [tsc] Types of property 'httpClient' are incompatible.
[15:38:10] [tsc] Type 'HttpClient' is not assignable to type 'HttpClient'. Two different types with this name exist, but they are unrelated.
[15:38:10] [tsc] Types have separate declarations of a private property '_fetchProvider'.
techchmiel, berndverhofstadt, TheAndrewHess and rroa
Metadata
Metadata
Assignees
Labels
No labels