Skip to content

Commit cb81d31

Browse files
renovate[bot]tay1orjonesriddhybansal
authored
chore(deps): update dependency typescript-eslint to v8.58.2 (#22061)
* chore(deps): update dependency typescript-eslint to v8.58.2 * chore: yarn dedupe * chore: yarn dedupe * chore(button): refactor kind predicate param into an overload signature * fix: remove brace-expansion resolution * chore: yarn dedupe --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Taylor Jones <taylor.jones826@gmail.com> Co-authored-by: Riddhi Bansal <41935566+riddhybansal@users.noreply.github.com>
1 parent 53186e5 commit cb81d31

3 files changed

Lines changed: 167 additions & 152 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@
3737
"react-dom": "~19.2.3",
3838
"react-is": "~19.2.0",
3939
"flatpickr@4.6.13": "patch:flatpickr@npm%3A4.6.13#./.yarn/patches/flatpickr-npm-4.6.13-06399933fc.patch",
40-
"brace-expansion": "^2.0.3",
4140
"@octokit/rest": "^22.0.0",
4241
"eslint": "9.39.4",
43-
"typescript-eslint": "8.46.2"
42+
"typescript-eslint": "8.58.2"
4443
},
4544
"devDependencies": {
4645
"@babel/core": "^7.27.3",

packages/react/src/components/Button/Button.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ export type ButtonComponent = <T extends React.ElementType = 'button'>(
133133

134134
function isIconOnlyButton(
135135
hasIconOnly: ButtonBaseProps['hasIconOnly'],
136-
_kind: ButtonBaseProps['kind']
137-
): _kind is IconButtonKind {
136+
kind: ButtonBaseProps['kind']
137+
): kind is IconButtonKind;
138+
function isIconOnlyButton(hasIconOnly: ButtonBaseProps['hasIconOnly']) {
138139
if (hasIconOnly === true) {
139140
return true;
140141
}

0 commit comments

Comments
 (0)