Fix to not use cursed empty object type and add lint (#6033)

This commit is contained in:
Jonathan Tran
2025-03-27 18:08:57 -04:00
committed by GitHub
parent 4f35197a96
commit 71b9e40bd9
9 changed files with 15 additions and 9 deletions

View File

@ -8,7 +8,7 @@ import Tooltip from 'components/Tooltip'
import { roundOff } from 'lib/utils'
import { commandBarActor, useCommandBarState } from 'machines/commandBarMachine'
function CommandBarHeader({ children }: React.PropsWithChildren<{}>) {
function CommandBarHeader({ children }: React.PropsWithChildren<object>) {
const commandBarState = useCommandBarState()
const {
context: { selectedCommand, currentArgument, argumentsToSubmit },