Home
last modified time | relevance | path

Searched refs:APIResponse (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_catchTypeArgument1.ts3 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
7 .resolve<APIResponse<{ email: string }>>({ success: true, data: { email: "" } })
8 .catch<APIResponse<{ email: string }>>(() => ({ success: false }));
13 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
18 .resolve<APIResponse<{ email: string; }>>({ success: true, data: { email: "" } });
20 const result: APIResponse<{ email: string; }> = ({ success: false });
DconvertToAsyncFunction_thenTypeArgument1.ts3 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
5 function wrapResponse<T>(response: T): APIResponse<T> {
10 return Promise.resolve(undefined!).then<APIResponse<{ email: string }>>(wrapResponse);
15 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
17 function wrapResponse<T>(response: T): APIResponse<T> {
23 const result: APIResponse<{ email: string; }> = wrapResponse(response);
DconvertToAsyncFunction_thenTypeArgument2.ts3 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
5 function wrapResponse<T>(response: T): APIResponse<T> {
10 return Promise.resolve(undefined!).then<APIResponse<{ email: string }>>(d => wrapResponse(d));
15 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
17 function wrapResponse<T>(response: T): APIResponse<T> {
23 const result: APIResponse<{ email: string; }> = wrapResponse(d);
DconvertToAsyncFunction_thenTypeArgument3.ts3 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
5 function wrapResponse<T>(response: T): APIResponse<T> {
10 return Promise.resolve(undefined!).then<APIResponse<{ email: string }>>(d => {
18 type APIResponse<T> = { success: true, data: T } | { success: false }; alias
20 function wrapResponse<T>(response: T): APIResponse<T> {
27 const result: APIResponse<{ email: string; }> = wrapResponse(d);
/third_party/nghttp2/integration-tests/
Dnghttpx_http1_test.go1109 var apiResp APIResponse
1151 var apiResp APIResponse
1193 var apiResp APIResponse
1230 var apiResp APIResponse
1277 var apiResp APIResponse
Dnghttpx_http2_test.go3373 var apiResp APIResponse
3415 var apiResp APIResponse
3457 var apiResp APIResponse
3494 var apiResp APIResponse
3541 var apiResp APIResponse
Dserver_tester.go765 type APIResponse struct { struct