From d8a94465ddcf4ecec4ae7ac3ef44c92fbdc94468 Mon Sep 17 00:00:00 2001 From: Johannes Zillmann Date: Mon, 15 Feb 2021 18:14:03 +0100 Subject: [PATCH] Fix imports --- core/src/transformer/AdjustHeight.ts | 2 +- core/src/transformer/ItemTransformer.ts | 6 +++--- core/src/transformer/TransformContext.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/transformer/AdjustHeight.ts b/core/src/transformer/AdjustHeight.ts index 164ddb8..cdfabb4 100644 --- a/core/src/transformer/AdjustHeight.ts +++ b/core/src/transformer/AdjustHeight.ts @@ -1,4 +1,4 @@ -import PageViewport from 'src/parse/PageViewport'; +import PageViewport from '../parse/PageViewport'; import Item from '../Item'; import ItemResult from '../ItemResult'; import ItemTransformer from './ItemTransformer'; diff --git a/core/src/transformer/ItemTransformer.ts b/core/src/transformer/ItemTransformer.ts index 8259a66..e5b1c31 100644 --- a/core/src/transformer/ItemTransformer.ts +++ b/core/src/transformer/ItemTransformer.ts @@ -1,7 +1,7 @@ -import TransformerDescriptor from '../TransformerDescription'; +import type TransformerDescriptor from '../TransformerDescription'; +import type TransformContext from './TransformContext'; import type Item from '../Item'; -import TransformContext from './TransformContext'; -import ItemResult from 'src/ItemResult'; +import type ItemResult from '../ItemResult'; /** * Transforms the incoming schema to what the transformer produces. diff --git a/core/src/transformer/TransformContext.ts b/core/src/transformer/TransformContext.ts index 97fa2c3..2740beb 100644 --- a/core/src/transformer/TransformContext.ts +++ b/core/src/transformer/TransformContext.ts @@ -1,4 +1,4 @@ -import PageViewport from 'src/parse/PageViewport'; +import PageViewport from '../parse/PageViewport'; export default interface TransformContext { pageViewports: PageViewport[];