Skip to content

Commit

Permalink
chore: fix more code scanning variables (#5580)
Browse files Browse the repository at this point in the history
* chore: remove some unused variables

* chore: remove some more unused variables
  • Loading branch information
reesscot authored Aug 13, 2024
1 parent 927870b commit a2e92c8
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ describe('createComponentClasses:', () => {
_modifiers: [null, undefined],
});

const badClassname = avatarClassnames({
// Bad classname should throw TS error
avatarClassnames({
// @ts-expect-error
_modifiers: 'foo',
});
Expand All @@ -148,7 +149,8 @@ describe('createComponentClasses:', () => {
_element: 'icon',
});

const badClassname = avatarClassnames({
// Bad classname should throw TS error
avatarClassnames({
// @ts-expect-error
_element: 'foo',
});
Expand All @@ -175,7 +177,8 @@ describe('createComponentClasses:', () => {
},
});

const badClassname = avatarClassnames({
// Bad classname should throw TS error
avatarClassnames({
_element: {
// @ts-expect-error
icon: 'large',
Expand Down

0 comments on commit a2e92c8

Please sign in to comment.