-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add placeholder for replaceAwsError
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Collection, JSCodeshift } from "jscodeshift"; | ||
import { ImportType } from "../modules"; | ||
|
||
export interface ReplaceAwsErrorOptions { | ||
v2GlobalName?: string; | ||
importType: ImportType; | ||
} | ||
|
||
export const replaceAwsError = ( | ||
j: JSCodeshift, | ||
Check failure on line 10 in src/transforms/v2-to-v3/apis/replaceAwsError.ts GitHub Actions / call-build / build (18.x)
|
||
source: Collection<unknown>, | ||
Check failure on line 11 in src/transforms/v2-to-v3/apis/replaceAwsError.ts GitHub Actions / call-build / build (18.x)
|
||
{ v2GlobalName, importType }: ReplaceAwsErrorOptions | ||
Check failure on line 12 in src/transforms/v2-to-v3/apis/replaceAwsError.ts GitHub Actions / call-build / build (18.x)
Check failure on line 12 in src/transforms/v2-to-v3/apis/replaceAwsError.ts GitHub Actions / call-build / build (18.x)
Check failure on line 12 in src/transforms/v2-to-v3/apis/replaceAwsError.ts GitHub Actions / call-build / build (20.x)
|
||
) => {}; |