Skip to content

Commit

Permalink
refactor: ignore any warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljablonski authored and danielbarion committed Jun 27, 2023
1 parent 0c5046a commit b9fa34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/handle-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const REACT_TOOLTIP_CORE_STYLES_ID = 'react-tooltip-core-styles'
// This is the ID for the visual styles of ReactTooltip
const REACT_TOOLTIP_BASE_STYLES_ID = 'react-tooltip-base-styles'

// eslint-disable-next-line @typescript-eslint/no-explicit-any, default-param-last
function injectStyle({
css,
id = REACT_TOOLTIP_BASE_STYLES_ID,
Expand All @@ -13,6 +12,7 @@ function injectStyle({
css: string
id?: string
type?: string
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ref?: any
}) {
if (type === 'core' && process.env.REACT_TOOLTIP_DISABLE_CORE_STYLES) {
Expand Down

0 comments on commit b9fa34a

Please sign in to comment.