Searched refs:APIResponse (Results 1 – 7 of 7) sorted by relevance
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/ |
D | convertToAsyncFunction_catchTypeArgument1.ts | 3 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 });
|
D | convertToAsyncFunction_thenTypeArgument1.ts | 3 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);
|
D | convertToAsyncFunction_thenTypeArgument2.ts | 3 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);
|
D | convertToAsyncFunction_thenTypeArgument3.ts | 3 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/ |
D | nghttpx_http1_test.go | 1109 var apiResp APIResponse 1151 var apiResp APIResponse 1193 var apiResp APIResponse 1230 var apiResp APIResponse 1277 var apiResp APIResponse
|
D | nghttpx_http2_test.go | 3373 var apiResp APIResponse 3415 var apiResp APIResponse 3457 var apiResp APIResponse 3494 var apiResp APIResponse 3541 var apiResp APIResponse
|
D | server_tester.go | 765 type APIResponse struct { struct
|