From e8922f46d430d468b5b9fc9cf6ce8bc7cfd22b32 Mon Sep 17 00:00:00 2001 From: Rolf Heij Date: Thu, 7 Dec 2023 13:49:43 +0100 Subject: [PATCH] Fix illegal imports --- src/renderer/preload.d.ts | 2 +- src/shared/models/project-data-provider-engine.model.ts | 4 ++-- src/shared/models/project-data-provider.model.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/preload.d.ts b/src/renderer/preload.d.ts index 3db472c9e2..836be6e9d9 100644 --- a/src/renderer/preload.d.ts +++ b/src/renderer/preload.d.ts @@ -1,4 +1,4 @@ -import { ElectronAPIHandler } from 'main/preload'; +import { ElectronAPIHandler } from '@main/preload'; declare global { interface Window { diff --git a/src/shared/models/project-data-provider-engine.model.ts b/src/shared/models/project-data-provider-engine.model.ts index c8680918ed..d239a3c2b0 100644 --- a/src/shared/models/project-data-provider-engine.model.ts +++ b/src/shared/models/project-data-provider-engine.model.ts @@ -1,6 +1,6 @@ import { ProjectTypes, ProjectDataTypes } from 'papi-shared-types'; -import type IDataProvider from 'shared/models/data-provider.interface'; -import type IDataProviderEngine from 'shared/models/data-provider-engine.model'; +import type IDataProvider from '@shared/models/data-provider.interface'; +import type IDataProviderEngine from '@shared/models/data-provider-engine.model'; /** All possible types for ProjectDataProviderEngines: IDataProviderEngine */ export type ProjectDataProviderEngineTypes = { diff --git a/src/shared/models/project-data-provider.model.ts b/src/shared/models/project-data-provider.model.ts index a5f35083d3..ff4bf5ce8b 100644 --- a/src/shared/models/project-data-provider.model.ts +++ b/src/shared/models/project-data-provider.model.ts @@ -1,4 +1,4 @@ -import type { DataProviderDataType } from 'shared/models/data-provider.model'; +import type { DataProviderDataType } from '@shared/models/data-provider.model'; /** Indicates to a PDP what extension data is being referenced */ export type ExtensionDataScope = {