chore: fix type
This commit is contained in:
parent
591d473acf
commit
90718d932a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue