Skip to content

Commit a284f39

Browse files
committed
refactor(pencil) add correct union type
1 parent 071a41b commit a284f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/unsafe-to-chain-command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const isRootCypress = (node) => {
125125

126126
/**
127127
* @param {import('estree').Node} node
128-
* @param {string[] | RegExp[]} additionalMethods
128+
* @param {(string | RegExp)[]} additionalMethods
129129
*/
130130
const isActionUnsafeToChain = (node, additionalMethods = []) => {
131131
const unsafeActionsRegex = new RegExp([

0 commit comments

Comments
 (0)