From 965d42dd934482ef599c98571a3d69c8f0d43042 Mon Sep 17 00:00:00 2001 From: Ruslan Schuh Date: Tue, 28 Mar 2023 16:31:11 +0200 Subject: [PATCH] missing import for wp build --- samples/react-pages-hierarchy/src/mocks/mockresponse.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/react-pages-hierarchy/src/mocks/mockresponse.ts b/samples/react-pages-hierarchy/src/mocks/mockresponse.ts index 283cc718b..d12144c99 100644 --- a/samples/react-pages-hierarchy/src/mocks/mockresponse.ts +++ b/samples/react-pages-hierarchy/src/mocks/mockresponse.ts @@ -1,4 +1,5 @@ -import { IItemUpdateResult, IContextInfo } from '@pnp/sp/presets/all'; +import { IItemUpdateResult } from '@pnp/sp/presets/all'; +import { IContextInfo } from '@pnp/sp/context-info'; import { IFetchOptions } from '@pnp/common'; import { FilterParser } from './filterParser'; import { MockListFactory } from './mocklistfactory'; @@ -658,7 +659,7 @@ export class MockResponse { } private getContextInfo(): Response { - let contexInfo: IContextInfo = { + let contexInfo: Partial = { FormDigestTimeoutSeconds: 100, FormDigestValue: 100 };