diff --git a/types/index.d.ts b/types/index.d.ts index 35d2bb99..65ebdc4c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -228,6 +228,12 @@ declare namespace fetchMock { * Match calls that only partially match a specified body json. */ matchPartialBody?: boolean; + + /** + * Avoids a route being removed when reset(), restore() or resetBehavior() are called. + * Note - this does not preserve the history of calls to the route + */ + sticky?: boolean; } interface MockCall extends Array {