/** * jssdk错误类型 */ export declare enum ErrorType { CONNECTION = "connection", RESPONSE_NOT_JSON = "responseNotJSON", RETURNCODE_ERROR = "returnCode", RECEIPT_ERROR = "receiptResult" } /** * jssdk error 的扩展字段 */ export type JssdkErrorInfo = { type?: ErrorType; code?: string; returnCode?: string; receiptCode?: string; hash?: string; output?: string; };