Skip to content

Commit

Permalink
Add interface ModulesOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Oct 18, 2023
1 parent 6c49246 commit cefd623
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/transforms/v2-to-v3/modules/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export interface ImportSpecifierOptions {
localName?: string;
}

export interface ModulesOptions extends ImportSpecifierOptions {
packageName: string;
}

export enum ImportType {
REQUIRE = "require",
IMPORT = "import",
Expand Down

0 comments on commit cefd623

Please sign in to comment.