Fix TurboHelpers import: add path to tsconfig

This commit is contained in:
Alexander Brandon Coles
2025-07-14 19:08:17 +01:00
parent 37034df9e5
commit 998531dee9
4 changed files with 4 additions and 3 deletions
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { renderStreamMessage } from '@hotwired/turbo';
import { ToastService } from 'core-app/shared/components/toaster/toast.service';
import { debugLog } from 'core-app/shared/helpers/debug_output';
import { TurboHelpers } from 'turbo/helpers';
import { TurboHelpers } from 'core-turbo/helpers';
@Injectable({ providedIn: 'root' })
export class TurboRequestsService {
@@ -30,7 +30,7 @@
import { ApplicationController } from 'stimulus-use';
import { renderStreamMessage } from '@hotwired/turbo';
import { TurboHelpers } from '../../turbo/helpers';
import { TurboHelpers } from 'core-turbo/helpers';
export default class AsyncDialogController extends ApplicationController {
connect() {
+1 -1
View File
@@ -11,7 +11,7 @@ import {
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';
import { I18n } from 'i18n-js';
import { registerDialogStreamAction } from 'turbo/dialog-stream-action';
import { registerDialogStreamAction } from 'core-turbo/dialog-stream-action';
registerDialogStreamAction();
+1
View File
@@ -22,6 +22,7 @@
"core-app/*": ["./src/app/*"],
"core-components/*": ["./src/app/components/*"],
"core-stimulus/*": ["./src/stimulus/*"],
"core-turbo/*": ["./src/turbo/*"],
"core-typings/*": ["./src/typings/*"],
"core-vendor/*": ["./src/vendor/*"]
}