0

I'm finally getting around to looking at the SharePoint Framework again (working on it in my few spare cycles when I don't have client work). The documentation says "Replace the propertyPaneConfiguration method with the code below which adds the new property pane fields and maps them to their respective typed objects." I replaced the code as instructed and I get an error "Cannot find name IPropertyPaneConfiguration" and "Return type of public property getter from exported class has or is using private name IPropertyPaneConfiguration" on the line:

protected get propertyPaneConfiguration(): IPropertyPaneConfiguration {

Should that read

protected get propertyPaneSettings(): IPropertyPaneSettings {

1 Answer 1

2

Your code should be

protected get propertyPaneSettings(): IPropertyPaneSettings

Looks like the documentation is incorrect. I'll log a bug to fix it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.