'PNP PeoplePicker Type 'WebPartContext' is missing the following properties from type 'BaseComponentContext'
I am using spfx Peoplepicker control in my spfx react webpart solution but Peoplepicker control encountering the below error.
Error : Type 'WebPartContext' is missing the following properties from type 'BaseComponentContext': _isServedFromLocalhost, isServedFromLocalhostts(2739) IPeoplePicker.d.ts(14, 5): The expected type comes from property 'context' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<PeoplePicker> & Readonly<IPeoplePickerProps> & Readonly<...>'
please comment & let me know if any additional information needed.
In the solution i am using spfx 1.11.0 version and tried different spfx 1.10.0 version but issue remains same.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
