diff --git a/index.d.ts b/index.d.ts index a17918142..ce2f48760 100644 --- a/index.d.ts +++ b/index.d.ts @@ -220,7 +220,7 @@ export interface SnapshotAssertion { skip(expected: any, message?: string): void; /** Skip this assertion. */ - (expected: any, options: SnapshotOptions, message?: string): void; + skip(expected: any, options: SnapshotOptions, message?: string): void; } export interface ThrowsAssertion { diff --git a/index.js.flow b/index.js.flow index 22f0eaadf..3c6c70f05 100644 --- a/index.js.flow +++ b/index.js.flow @@ -233,7 +233,7 @@ export interface SnapshotAssertion { skip(expected: any, message?: string): void; /** Skip this assertion. */ - (expected: any, options: SnapshotOptions, message?: string): void; + skip(expected: any, options: SnapshotOptions, message?: string): void; } export interface ThrowsAssertion {