From 4bf690ba23f9265b8cbf29d74d1b83fc57fa8a8d Mon Sep 17 00:00:00 2001 From: Segun Adebayo Date: Tue, 29 Oct 2024 11:33:38 +0000 Subject: [PATCH] chore(lit): update --- examples/lit-ts/src/component.ts | 4 ++-- packages/core/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"