From cefd623e3a2148ed2b0b66be58e336c948efe6e0 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 18 Oct 2023 08:11:15 -0700 Subject: [PATCH] Add interface ModulesOptions --- src/transforms/v2-to-v3/modules/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/transforms/v2-to-v3/modules/types.ts b/src/transforms/v2-to-v3/modules/types.ts index 2209242ec..559ef1743 100644 --- a/src/transforms/v2-to-v3/modules/types.ts +++ b/src/transforms/v2-to-v3/modules/types.ts @@ -14,6 +14,10 @@ export interface ImportSpecifierOptions { localName?: string; } +export interface ModulesOptions extends ImportSpecifierOptions { + packageName: string; +} + export enum ImportType { REQUIRE = "require", IMPORT = "import",