-
Notifications
You must be signed in to change notification settings - Fork 1k
Type "session" has no properties in common with type 'ICachingProps' #7978
Copy link
Copy link
Closed
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Metadata
Metadata
Assignees
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedarea:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devtype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active work
Type
Fields
Give feedbackNo fields configured for issues without a type.
[{
"resource": "/C:/code/spfx-pnp-js-example/src/webparts/pnPjsExample/components/PnPjsExample.tsx",
"owner": "typescript",
"code": "2559",
"severity": 8,
"message": "Type '"session"' has no properties in common with type 'ICachingProps'.",
"source": "ts",
"startLineNumber": 92,
"startColumn": 52,
"endLineNumber": 92,
"endColumn": 61
}]
I need help with this error ... NooB
EDIT: WORKAROUND: Commented out the line spCache and replace the cache object in the IRespnseItem[] line 94 spCache = spfi(this._sp) and works fine, but the speed seems compromised
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.