Skip to content

Commit

Permalink
refactor(pencil) add correct union type
Browse files Browse the repository at this point in the history
  • Loading branch information
passbyval committed Aug 7, 2023
1 parent 071a41b commit a284f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/unsafe-to-chain-command.js
Expand Up @@ -125,7 +125,7 @@ const isRootCypress = (node) => {

/**
* @param {import('estree').Node} node
* @param {string[] | RegExp[]} additionalMethods
* @param {(string | RegExp)[]} additionalMethods
*/
const isActionUnsafeToChain = (node, additionalMethods = []) => {
const unsafeActionsRegex = new RegExp([
Expand Down

0 comments on commit a284f39

Please sign in to comment.