Skip to content

Commit

Permalink
jest-transform: Fix optional type for getCacheKey in transform (#9138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha authored and SimenB committed Nov 6, 2019
1 parent e3f4c65 commit 8da17b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-transform/src/types.ts
Expand Up @@ -56,7 +56,7 @@ export interface Transformer {
canInstrument?: boolean;
createTransformer?: (options?: any) => Transformer;

getCacheKey: (
getCacheKey?: (
fileData: string,
filePath: Config.Path,
configStr: string,
Expand Down

0 comments on commit 8da17b9

Please sign in to comment.