From da475bcdb97dc75ee7cb78636693baf95ba5f953 Mon Sep 17 00:00:00 2001 From: Charlie Greenman Date: Mon, 4 Dec 2023 19:57:39 -0500 Subject: [PATCH] ZETA-7230: Update typescript type --- src/rz/nextjs/effects/library/nextjs-library.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rz/nextjs/effects/library/nextjs-library.ts b/src/rz/nextjs/effects/library/nextjs-library.ts index ca6c782..a3eb031 100644 --- a/src/rz/nextjs/effects/library/nextjs-library.ts +++ b/src/rz/nextjs/effects/library/nextjs-library.ts @@ -1,8 +1,9 @@ import { morphJson } from "../../../json/json-morph"; import { EditFileEffect } from "../../../morph/interfaces/morph.interface"; +import { NextjsOptionalType } from "../../types/nextjs-types"; // returns package json as well, so can get package json data -export function returnRootTsConfig(filePathWithName: string, fileTree: string[], optionalTypes: AngularOptionalType[]): string[] { +export function returnRootTsConfig(filePathWithName: string, fileTree: string[], optionalTypes: NextjsOptionalType[]): string[] { return ['tsconfig.base.json']; }