Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/microsoft/TypeChat
/ success
Function
success
typescript/src/result.ts:21–23 ·
view source on GitHub ↗
(data: T)
Source
from the content-addressed store, hash-verified
19
* @returns A `Success<T>` object.
20
*/
21
export
function
success<T>(data: T): Success<T> {
22
return
{ success: true, data };
23
}
24
25
/**
26
* Returns an `Error` object.
Callers
6
complete
Function · 0.90
validate
Function · 0.90
createModuleTextFromJson
Function · 0.90
createModuleTextFromProgram
Function · 0.90
validate
Function · 0.90
_handleMessage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected