From 56183df4edd3bf21baff857372083b9a4ed4c6d5 Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Thu, 7 Sep 2023 12:19:23 +0200 Subject: [PATCH] fix add missing dependency to preview --- scopes/dev-services/preview/preview/component.json | 1 + .../preview/preview/preview-app/src/app/global.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scopes/dev-services/preview/preview/component.json b/scopes/dev-services/preview/preview/component.json index 35ead3bf..58b5eaba 100644 --- a/scopes/dev-services/preview/preview/component.json +++ b/scopes/dev-services/preview/preview/component.json @@ -28,6 +28,7 @@ "@angular/elements": ">= 8.0.0", "@angular/platform-browser": ">= 8.0.0", "@angular/platform-browser-dynamic": ">= 8.0.0", + "rxjs": "^6.5.5 || ^7.4.0", "typescript": ">= 3.5.3", "zone.js": ">= 0.9.1" } diff --git a/scopes/dev-services/preview/preview/preview-app/src/app/global.d.ts b/scopes/dev-services/preview/preview/preview-app/src/app/global.d.ts index faa09468..4962c903 100644 --- a/scopes/dev-services/preview/preview/preview-app/src/app/global.d.ts +++ b/scopes/dev-services/preview/preview/preview-app/src/app/global.d.ts @@ -1,5 +1,5 @@ -import { NgModuleRef } from '@angular/core'; -import { ReplaySubject } from 'rxjs'; +import type { NgModuleRef } from '@angular/core'; +import type { ReplaySubject } from 'rxjs'; declare global { interface Window {