UNPKG
@harbor/ui
Version:
latest (1.7.4-rc2)
1.7.4-rc2
1.7.4-rc1
1.7.1
1.7.1-rc2
1.7.1-rc1
1.0.0-rc7
1.0.0-rc6
1.0.0-rc5
1.0.0-rc4
1.0.0-rc3
1.0.0-rc2
Harbor shared UI components based on Clarity and Angular6
github.com/vmware/harbor
vmware/harbor
@harbor/ui
/
src
/
shared
/
shared.utils.d.ts
10 lines
(9 loc)
•
230 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * To handle the error message body * ** * returns {string} */
import
{
Response
}
from
"@angular/http"
;
export
declare
const
errorHandler
:
(
error
:
any
) =>
string
;
export
declare
const
extractJson
:
(
res
:
Response
) =>
any
;