Skip to content

Commit

Permalink
chore(lit): update
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Oct 29, 2024
1 parent 2b76ef0 commit 4bf690b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/lit-ts/src/component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dict, Machine, StateFrom, StateMachine } from "@zag-js/core"
import { Machine, StateFrom, StateMachine } from "@zag-js/core"
import { LitElement } from "lit"
import { state } from "lit/decorators.js"

Expand All @@ -9,7 +9,7 @@ interface ComponentInterface<Api, Service> {
}

export abstract class Component<
Context extends Dict,
Context extends Record<string, any>,
Api,
Service extends Machine<any, any, StateMachine.AnyEventObject>,
>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export { choose, guards } from "./guard-utils"
export * from "./machine"
export { mergeProps } from "./merge-props"
export type { ContextFrom, EventFrom, StateFrom } from "./type-utils"
export type { Dict, StateMachine } from "./types"
export type { StateMachine } from "./types"

0 comments on commit 4bf690b

Please sign in to comment.