chore: fix type

This commit is contained in:
Stephen Zhou 2025-05-12 18:58:41 +08:00
parent 591d473acf
commit 90718d932a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
import { assertType, test } from "vitest"
import { CommandActionButton, CommandIdButton } from "./command-button"
import type { OpenInBrowserCommand, TipCommand } from "./commands/entry"
import { COMMAND_ID } from "./commands/id"
import type { OpenInBrowserCommand, TipCommand } from "./commands/types"
test("CommandActionButton types", () => {
const mockCommand = {} as OpenInBrowserCommand

View File

@ -1,7 +1,7 @@
import { assertType, expectTypeOf, test } from "vitest"
import type { TipCommand } from "../commands/entry"
import { COMMAND_ID } from "../commands/id"
import type { TipCommand } from "../commands/types"
import { getCommand, useCommand, useRunCommandFn } from "./use-command"
test("getCommand types work properly", () => {