chore(js-sdk): Compatible with nodenext (#1667)

This commit is contained in:
zWing
2025-08-09 08:05:50 +08:00
committed by GitHub
parent 83f4e8e156
commit 2f4291672b
11 changed files with 35 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { Options as ClientOptions, TDataShape, Client } from "./client"
import type { Options as ClientOptions, TDataShape, Client } from "./client/index.js"
import type {
EventSubscribeData,
EventSubscribeResponses,
@@ -73,8 +73,8 @@ import type {
TuiClearPromptResponses,
TuiExecuteCommandData,
TuiExecuteCommandResponses,
} from "./types.gen"
import { client as _heyApiClient } from "./client.gen"
} from "./types.gen.js"
import { client as _heyApiClient } from "./client.gen.js"
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<
TData,