Skip to content

Commit

Permalink
chore: add ToDo comments in remove utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Feb 28, 2024
1 parent 109c38f commit d1d666a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/transforms/v2-to-v3/modules/removeRequireIdentifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown>,
Expand Down
2 changes: 2 additions & 0 deletions src/transforms/v2-to-v3/modules/removeRequireProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown>,
Expand Down

0 comments on commit d1d666a

Please sign in to comment.