From 83d3f20e2ae2dd2329f0b20105c1dfc8d8b81235 Mon Sep 17 00:00:00 2001 From: Stefan Schenk Date: Mon, 22 Jun 2020 13:47:32 +0200 Subject: [PATCH] Add `matchPartialBody` to typings --- types/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index d2d44867..4486d310 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -223,6 +223,11 @@ declare namespace fetchMock { * @default true */ includeContentLength?: boolean; + + /** + * Match calls that only partially match a specified body json. + */ + matchPartialBody?: boolean; } interface MockCall extends Array {