fix: fix inheritance

This commit is contained in:
Li Xin 2025-04-30 10:04:48 +08:00
parent 6e0aa305d1
commit 0a59fc5439

View File

@ -2,7 +2,6 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
import type { Option } from "../messages"; import type { Option } from "../messages";
import type { StreamEvent } from "../sse";
// Tool Calls // Tool Calls
@ -23,7 +22,7 @@ export interface ToolCallChunk {
// Events // Events
interface GenericEvent<T extends string, D extends object> extends StreamEvent { interface GenericEvent<T extends string, D extends object> {
type: T; type: T;
data: { data: {
id: string; id: string;