tarlatan
Preparing search index...
format/claude
decodeClaudeResult
Variable decodeClaudeResult
Const
decodeClaudeResult
:
(
input
:
unknown
,
options
?:
ParseOptions
,
)
=>
Result
<
{
is_error
?:
boolean
;
result
?:
string
;
session_id
?:
string
;
subtype
?:
string
;
type
:
"result"
;
}
,
SchemaError
,
>
= ...
Decodes an unknown value as a
ClaudeResult
.
Type Declaration
(
input
:
unknown
,
options
?:
ParseOptions
,
)
:
Result
<
{
is_error
?:
boolean
;
result
?:
string
;
session_id
?:
string
;
subtype
?:
string
;
type
:
"result"
;
}
,
SchemaError
,
>
Parameters
input
:
unknown
Optional
options
:
ParseOptions
Returns
Result
<
{
is_error
?:
boolean
;
result
?:
string
;
session_id
?:
string
;
subtype
?:
string
;
type
:
"result"
;
}
,
SchemaError
,
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
tarlatan
Loading...
Decodes an unknown value as a ClaudeResult.