From 081e3511cc1c5f8b2f8b332b16fa75dd463f8e95 Mon Sep 17 00:00:00 2001 From: Paul Sachs Date: Sat, 25 May 2019 11:10:44 -0400 Subject: [PATCH] review adjustments --- cli/types/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cli/types/index.d.ts b/cli/types/index.d.ts index b90e931fb63f..7f4a5246ba2c 100644 --- a/cli/types/index.d.ts +++ b/cli/types/index.d.ts @@ -1804,16 +1804,17 @@ declare namespace Cypress { } /** - * Options that control how a command behaves in the `within` scope + * Options that control how a command behaves in the `within` scope. + * The provided node will be used as the parent scope to search within. */ interface Withinable { /** - * The subject of the within wrapper. + * Element to search for children in. If null, search begins from root-level DOM element. * * @default depends on context, null if outside of within wrapper */ - withinSubject: JQuery | null + withinSubject: JQuery | HTMLElement | null } /**