diff --git a/packages/jest-transform/src/types.ts b/packages/jest-transform/src/types.ts index 636cff4c27e2..42e60a3420f0 100644 --- a/packages/jest-transform/src/types.ts +++ b/packages/jest-transform/src/types.ts @@ -56,7 +56,7 @@ export interface Transformer { canInstrument?: boolean; createTransformer?: (options?: any) => Transformer; - getCacheKey: ( + getCacheKey?: ( fileData: string, filePath: Config.Path, configStr: string,