Skip to content

Commit b1afd64

Browse files
committed
refactor: remove unused exports
1 parent 0f75257 commit b1afd64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/toggle-negation.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { isBoolean } from './is-boolean'
2222
* @param {string} code - The code string to toggle the exclamation mark on.
2323
* @returns {string} The code string with the toggled exclamation mark.
2424
*/
25-
export let toggleCode = (code: string): string =>
25+
let toggleCode = (code: string): string =>
2626
code.startsWith('!') ? code.replace(/^!/u, '') : `!${code}`
2727

2828
/**
@@ -96,7 +96,7 @@ let toggleLogicalExpression = (
9696
* @param {Rule.RuleContext} context - The ESLint rule context.
9797
* @returns {string} The expression with toggled negation.
9898
*/
99-
export let toggleUnaryExpression = (
99+
let toggleUnaryExpression = (
100100
node: Expression,
101101
context: Rule.RuleContext,
102102
): string => {

0 commit comments

Comments
 (0)