diff --git a/src/transforms/v2-to-v3/modules/removeRequireIdentifier.ts b/src/transforms/v2-to-v3/modules/removeRequireIdentifier.ts index a40513167..ab4f4a155 100644 --- a/src/transforms/v2-to-v3/modules/removeRequireIdentifier.ts +++ b/src/transforms/v2-to-v3/modules/removeRequireIdentifier.ts @@ -9,6 +9,8 @@ export interface RemoveRequireIdentifierOptions { sourceValue: string; } +// ToDo: Write generic utility to remove unused modules +// Similar to https://github.com/aws/aws-sdk-js-codemod/pull/781 export const removeRequireIdentifier = ( j: JSCodeshift, source: Collection, diff --git a/src/transforms/v2-to-v3/modules/removeRequireProperty.ts b/src/transforms/v2-to-v3/modules/removeRequireProperty.ts index 05aab8626..8393d2119 100644 --- a/src/transforms/v2-to-v3/modules/removeRequireProperty.ts +++ b/src/transforms/v2-to-v3/modules/removeRequireProperty.ts @@ -10,6 +10,8 @@ export interface RemoveRequireObjectPropertyOptions { sourceValue: string; } +// ToDo: Write generic utility to remove unused modules +// Similar to https://github.com/aws/aws-sdk-js-codemod/pull/781 export const removeRequireProperty = ( j: JSCodeshift, source: Collection,