diff --git a/examples/lit-ts/src/component.ts b/examples/lit-ts/src/component.ts index 1da365a173..311b42d5e8 100644 --- a/examples/lit-ts/src/component.ts +++ b/examples/lit-ts/src/component.ts @@ -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" @@ -9,7 +9,7 @@ interface ComponentInterface { } export abstract class Component< - Context extends Dict, + Context extends Record, Api, Service extends Machine, > diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index ae65731f22..352870079a 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -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"