From 0afd7f280638b18834544570b8f744146b9cc9fa Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sat, 11 Sep 2021 23:22:07 +0100 Subject: [PATCH] Fix impossible type --- packages/core/src/test/context-wrapper.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/core/src/test/context-wrapper.tsx b/packages/core/src/test/context-wrapper.tsx index bb63e48db..2a79496c9 100644 --- a/packages/core/src/test/context-wrapper.tsx +++ b/packages/core/src/test/context-wrapper.tsx @@ -1,8 +1,8 @@ import * as React from 'react' -import type { TLPageState, TLBounds } from '../types' +import type { TLPageState, TLBounds, TLShape } from '../types' import { mockDocument } from './mockDocument' import { mockUtils } from './mockUtils' -import { useTLTheme, TLContext } from '../hooks' +import { useTLTheme, TLContext, TLContextType } from '../hooks' import { Inputs } from '+inputs' export const ContextWrapper: React.FC = ({ children }) => { @@ -18,5 +18,6 @@ export const ContextWrapper: React.FC = ({ children }) => { inputs: new Inputs(), })) - return {children} + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return {children} }