diff --git a/types/enzyme/index.d.ts b/types/enzyme/index.d.ts index c6e78fda11..9ea4264ef2 100644 --- a/types/enzyme/index.d.ts +++ b/types/enzyme/index.d.ts @@ -1,10 +1,11 @@ -// Type definitions for Enzyme 2.7 +// Type definitions for Enzyme 2.7.1 // Project: https://github.com/airbnb/enzyme // Definitions by: Marian Palkus // Cap3 // Ivo Stratev // Tom Crockett -// jwbay +// jwbay +// huhuanming // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -340,7 +341,7 @@ interface CommonWrapper { } export interface ShallowWrapper extends CommonWrapper { - shallow(): ShallowWrapper; + shallow(options?: ShallowRendererProps): ShallowWrapper; unmount(): ShallowWrapper; /**