UNPKG
@jsstudio/development-api-interceptor
Version:
latest (1.0.1)
1.0.1
1.0.0
development-api-interceptor
github.com/srijanone/development-api-interceptor
@jsstudio/development-api-interceptor
/
lib
/
esm
/
utils
/
api-response.d.ts
8 lines
(7 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Response
}
from
'../interfaces/api'
;
export
declare
const
getResponse
:
(
{ status, success, message, data }:
Response
) =>
{
status
:
number
;
success
:
boolean
;
message
:
string
;
data
:
object
; };